ADVERTISEMENTREMOVE ADS
Remote event detector
2 views
Universal script•
2 months ago

Script Preview
ADVERTISEMENTREMOVE ADS
29 Lines • 825 Bytes
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local function detectRemoteEvents()
local remoteEvents = {}
local function scanForRemoteEvents(parent)
for _, child in ipairs(parent:GetChildren()) do
if child:IsA("RemoteEvent") then
remoteEvents[child:GetFullName()] = child
elseif child:IsA("RemoteFunction") then
remoteEvents[child:GetFullName()] = child
end
scanForRemoteEvents(child)
end
end
scanForRemoteEvents(game)
scanForRemoteEvents(ReplicatedStorage)
return remoteEvents
end
local detectedEvents = detectRemoteEvents()
for name, remote in pairs(detectedEvents) do
print("Detected Remote:", name)
end
ADVERTISEMENTREMOVE ADS
ADVERTISEMENTREMOVE ADS






Comments