Advertisement
Upscalefanatic3

Remote Finder Script

Sep 14th, 2017
390
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. -- Hello! This is similar to Autumn's RemoteSpy, except it finds all remotes in Workspace and ReplicatedStorage (where they're generally kept, but you can modify it if you want). To use simply run the script then check the f9 console in game for the full location of the event. Each section is labeled with a warn and a separator.
  2.  
  3. -- Made by Kai (Avion)
  4. -- Tysm Clv and MasterKelvinVIP for helping me make and revise
  5.  
  6. local ToFind = {
  7. RemoteFunction = true,
  8. RemoteEvent = true,
  9. BindableFunction = true,
  10. BindableEvent = true
  11. }
  12.  
  13. local Found = {}
  14.  
  15. local function Search(Parent, Arguments)
  16. Parent = Parent:GetChildren()
  17. for index, child in next, Parent do
  18. for class in next, Arguments do
  19. if child.ClassName == class then
  20. if Found[class] then
  21. local Directory = Found[class]
  22. Found[class][#Directory + 1] = child
  23. else
  24. Found[class] = {child}
  25. end
  26. end
  27. end
  28. if #Parent > 0 then
  29. Search(child, Arguments)
  30. end
  31. end
  32. end
  33.  
  34. Search(workspace, ToFind)
  35. Search(game:GetService("ReplicatedStorage"), ToFind)
  36.  
  37. for index, value in next, Found do
  38. warn(index .. "(s)")
  39. for _, child in next, value do
  40. print(child:GetFullName())
  41. end
  42. warn("End of " .. index .. "(s)")
  43. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement