Advertisement
artbarte

RemotrSpy by Avin

Jul 29th, 2017
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 KB | None | 0 0
  1. --Made by Avion (Kai) and Clv (Thanks Clv <3)
  2. -- To modify what is scanned go to lines 21 and 22 and copy those, but with the new location.
  3. local toFind = {
  4. RemoteEvent = true;
  5. RemoteFunction = true;
  6. BindableEvent = true;
  7. BindableFunction = true;
  8. };
  9. local found = {};
  10.  
  11. function find(obj,args)
  12. for _,v in pairs(obj:children()) do
  13. for class,_ in pairs(args) do
  14. if v.ClassName == class then
  15. if found[class] then table.insert(found[class],v) else found[class] = {v} end
  16. end
  17. end
  18. if #v:children() > 0 then find(v,args) end;
  19. end;
  20. end
  21.  
  22. -- Don't mess with anything below
  23. find(Workspace,toFind)
  24. find(game.ReplicatedStorage,toFind)
  25.  
  26. if toFind["BindableEvent"] then
  27. if found.BindableEvent ~= nil then
  28. warn("BindableEvent(s)")
  29. for i = 1,#found.BindableEvent do
  30. print(found.BindableEvent[i]:GetFullName())
  31. end
  32. warn("End of BindableEvent(s)")
  33. else
  34. end
  35. end
  36.  
  37. warn("------------------------------------------------------------------------------------------------------------------------------------------")
  38.  
  39. if toFind["BindableFunction"] then
  40. if found.BindableFunction ~= nil then
  41. warn("BindableFunction(s)")
  42. for i = 1,#found.BindableFunction do
  43. print(found.BindableFunction[i]:GetFullName())
  44. end
  45. warn("End of BindableFunction(s)")
  46. else
  47. warn("No BindableEvents")
  48. end
  49. end
  50.  
  51. warn("------------------------------------------------------------------------------------------------------------------------------------------")
  52.  
  53. if toFind["RemoteEvent"] then
  54. if found.RemoteEvent ~= nil then
  55. warn("RemoteEvent(s)")
  56. for i = 1,#found.RemoteEvent do
  57. print(found.RemoteEvent[i]:GetFullName())
  58. end
  59. warn("End of RemoteEvents(s)")
  60. else
  61. warn("No RemoteEvent(s) Found")
  62. end
  63. end
  64.  
  65. warn("------------------------------------------------------------------------------------------------------------------------------------------")
  66.  
  67. if toFind["RemoteFunction"] then
  68. if found.RemoteFunction ~= nil then
  69. warn("RemoteFunction(s)")
  70. for i = 1,#found.RemoteFunction do
  71. print(found.RemoteFunction[i]:GetFullName())
  72. end
  73. warn("End of RemoteFunction(s)")
  74. else
  75. warn("No RemoteFunction(s) Found")
  76. end
  77. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement