Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Commit 024ad29

Browse files
authored
Update admin.lua
1 parent cb1db2d commit 024ad29

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

admin.lua

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,18 @@ commands = {
5555
rconsoleprint(key .. ',\n')
5656
end
5757
end,
58+
59+
getremotes = function(...)
60+
for i, v in pairs(game:GetDescendants()) do
61+
if string.match(v.ClassName, "RemoteEvent") then
62+
rconsoleprint("\nRemoteEvent found!  \nLocation: " .. v:GetFullName() .. "  \nMethod  FireServer\n")
63+
elseif string.match(v.ClassName, "RemoteFunction") then
64+
rconsoleprint("\nRemoteFunction found! \nLocation: " .. v:GetFullName() .. "  \nMethod | InvokeServer\n")
65+
else
66+
67+
end
68+
end
69+
end,
5870

5971
shadows = function(...)
6072
Lighting.GlobalShadows = true

0 commit comments

Comments
 (0)