Advertisement
Upscalefanatic3

Find all remote events/functions

Sep 14th, 2017
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. local tbl = game:GetDescendants()
  2.  
  3. for i, v in pairs(tbl) do
  4. if string.match(v.ClassName, "RemoteEvent") then
  5. warn("\nRemoteEvent found! \nLocation: "..v:GetFullName().." \nMethod FireServer")
  6. elseif string.match(v.ClassName, "RemoteFunction") then
  7. warn("\nRemoteFunction found! \nLocation: "..v:GetFullName().." \nMethod | InvokeServer")
  8. else
  9. --
  10. end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement