Advertisement
GustasRBLX

remote spy aaaa

Sep 6th, 2019
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.86 KB | None | 0 0
  1. --== Creation Functions ==--
  2.  
  3. function BreakCode()
  4. script:Destroy()
  5. end
  6.  
  7. local service = setmetatable({}, {
  8. __index = function(t, k)
  9. return game:GetService(k)
  10. end
  11. })
  12.  
  13. if service.Players.LocalPlayer.PlayerGui:FindFirstChild("Mr.Spy - Rebug REX/Kurokku") then
  14. service.Players.LocalPlayer.PlayerGui:FindFirstChild("Mr.Spy - Rebug REX/Kurokku"):Destroy() --You're dumb if you don't know what this does
  15. end
  16.  
  17. function Create(cls,props)
  18. local inst = Instance.new(cls)
  19. for i,v in pairs(props) do
  20. if i == "ZIndex" then
  21. inst[i] = v+10000000
  22. else
  23. inst[i] = v
  24. end
  25. end
  26. return inst
  27. end
  28.  
  29. _G.Exploit = (function()
  30. local writeable = pcall(function() make_writeable(getrawmetatable(game)) end)
  31. local setwrite = pcall(function() setreadonly(getrawmetatable(game), false) end)
  32. local synapse = Synapse or false
  33. local backup = pcall(function() getrawmetatable(game) end)
  34.  
  35. return (
  36. (writeable and "Writeable") or
  37. (setwrite and "SetWrite") or
  38. (synapse and "Synapse") or
  39. (backup and "BackUp") or
  40. "Unknown Exploit"
  41. )
  42. end)()
  43.  
  44. function GetType(item)
  45. if type(item) == "string" then
  46. return "\""..item.."\""
  47. elseif type(item) == "table" then
  48. local str = "{"
  49. local max = 0
  50. local numb = 1
  51. for i,v in pairs(item) do
  52. max = max+1
  53. end
  54. for i,v in pairs(item) do
  55. if numb == max then
  56. str = str.."["..GetType(i).."] = "..GetType(v)
  57. else
  58. str = str.."["..GetType(i).."] = "..GetType(v)..", "
  59. end
  60. numb = numb + 1
  61. end
  62. str = str.."}"
  63. return str
  64. elseif type(item) == "userdata" then
  65. local a,b = pcall(function()
  66. return item.ClassName
  67. end)
  68. if a then
  69. return item:GetFullName()
  70. else
  71. if tostring(b):match("not a valid member of %w+") then
  72. local c, d = tostring(b):match("not a valid member of %w+"):find("of ")
  73. local class = tostring(b):match("not a valid member of %w+"):sub(d+1)
  74. return class..".new(".. tostring(item) ..")"
  75. end
  76. end
  77. else
  78. return tostring(item)
  79. end
  80. end
  81.  
  82. function ReturnArgs(Namecall, Object, ...)
  83. local args = {...}
  84. local list = "Namecall: ".. tostring(Namecall) .." | Args: ["
  85. local max = 0
  86. local numb = 1
  87. for i,v in pairs(args) do
  88. max = max + 1
  89. end
  90. for i,v in pairs(args) do
  91. if numb == max then
  92. list = list..GetType(v)
  93. else
  94. list = list..GetType(v)..", "
  95. end
  96. numb = numb + 1
  97. end
  98. list=list.."]"
  99. return list
  100. end
  101.  
  102. function MakeShadow(UI,Index,Amnt,Sizey,starty)
  103. local tab = {}
  104. for i = 1,Amnt do
  105. tab[i] = Create("Frame",{Name="Shadow",Parent=UI,Size=UDim2.new(1,0,Sizey,0),ZIndex=Index,Position=UDim2.new(0,i,starty,i),BackgroundColor3=Color3.fromRGB(0,0,0),BorderSizePixel=0,Transparency=0.9})
  106. end
  107. return tab
  108. end
  109.  
  110. --== End ==--
  111.  
  112. --== Variables ==--
  113.  
  114. local plr = service.Players.LocalPlayer
  115. local mouse = plr:GetMouse()
  116. local colSize = 14
  117. local SpyArgs = {}
  118. local Indexs = {
  119. ["BadgeService"] = 76;
  120. ["Humanoid"] = 10;
  121. ["GuiService"] = 48;
  122. ["CylinderHandleAdornment"] = 55;
  123. ["BallSocketConstraint"] = 90;
  124. ["BrickColorValue"] = 5;
  125. ["Accoutrement"] = 33;
  126. ["AdService"] = 74;
  127. ["AssetService"] = 73;
  128. ["GuiMain"] = 48;
  129. ["ImageButton"] = 53;
  130. ["HapticService"] = 85;
  131. ["DialogChoice"] = 64;
  132. ["Handles"] = 54;
  133. ["ReflectionMetadataClasses"] = 87;
  134. ["JointInstance"] = 35;
  135. ["AnimationController"] = 61;
  136. ["RemoteEvent"] = 81;
  137. ["CollectionService"] = 31;
  138. ["Smoke"] = 60;
  139. ["Configuration"] = 59;
  140. ["KeyframeSequenceProvider"] = 61;
  141. ["Accessory"] = 33;
  142. ["SelectionPointLasso"] = 58;
  143. ["GamePassService"] = 20;
  144. ["CFrameValue"] = 5;
  145. ["TextureTrail"] = 5;
  146. ["ImageLabel"] = 50;
  147. ["ReflectionMetadataMember"] = 87;
  148. ["Animation"] = 61;
  149. ["IntConstrainedValue"] = 5;
  150. ["HttpService"] = 77;
  151. ["PointLight"] = 14;
  152. ["Model"] = 3;
  153. ["DoubleConstrainedValue"] = 5;
  154. ["Snap"] = 35;
  155. ["BodyAngularVelocity"] = 15;
  156. ["VelocityMotor"] = 35;
  157. ["RocketPropulsion"] = 15;
  158. ["SurfaceSelection"] = 56;
  159. ["CoreGui"] = 47;
  160. ["Part"] = 2;
  161. ["ReplicatedFirst"] = 73;
  162. ["BindableEvent"] = 68;
  163. ["SelectionPartLasso"] = 58;
  164. ["NegateOperation"] = 79;
  165. ["PyramidPart"] = 2;
  166. ["ArcHandles"] = 57;
  167. ["Hint"] = 34;
  168. ["Players"] = 22;
  169. ["Script"] = 7;
  170. ["ParallelRampPart"] = 2;
  171. ["RayValue"] = 5;
  172. ["LineHandleAdornment"] = 55;
  173. ["Camera"] = 6;
  174. ["RunService"] = 67;
  175. ["BodyForce"] = 15;
  176. ["KeyframeSequence"] = 61;
  177. ["ServerScriptService"] = 1;
  178. ["BillboardGui"] = 65;
  179. ["BodyThrust"] = 15;
  180. ["RemoteFunction"] = 80;
  181. ["Team"] = 25;
  182. ["Sound"] = 12;
  183. ["GuiButton"] = 53;
  184. ["Workspace"] = 20;
  185. ["Lighting"] = 14;
  186. ["JointsService"] = 35;
  187. ["BlurEffect"] = 91;
  188. ["WedgePart"] = 2;
  189. ["BloomEffect"] = 91;
  190. ["ReflectionMetadata"] = 87;
  191. ["Vector3Value"] = 5;
  192. ["PointsService"] = 84;
  193. ["UserInputService"] = 85;
  194. ["Sparkles"] = 43;
  195. ["BodyGyro"] = 15;
  196. ["Rotate"] = 35;
  197. ["HopperBin"] = 23;
  198. ["ForceField"] = 38;
  199. ["Tool"] = 18;
  200. ["Texture"] = 11;
  201. ["Teams"] = 24;
  202. ["ReflectionMetadataFunctions"] = 87;
  203. ["RodConstraint"] = 90;
  204. ["Folder"] = 71;
  205. ["BodyVelocity"] = 15;
  206. ["Shirt"] = 44;
  207. ["SlidingBallConstraint"] = 90;
  208. ["Animator"] = 61;
  209. ["TextButton"] = 52;
  210. ["Color3Value"] = 5;
  211. ["TextBox"] = 52;
  212. ["NetworkReplicator"] = 30;
  213. ["Platform"] = 36;
  214. ["TerrainRegion"] = 66;
  215. ["SkateboardPlatform"] = 36;
  216. ["Seat"] = 36;
  217. ["Terrain"] = 66;
  218. ["Explosion"] = 37;
  219. ["BlockMesh"] = 9;
  220. ["TeleportService"] = 82;
  221. ["PlayerGui"] = 47;
  222. ["TextLabel"] = 51;
  223. ["SurfaceLight"] = 14;
  224. ["SurfaceGui"] = 65;
  225. ["Debris"] = 31;
  226. ["FlagStand"] = 40;
  227. ["StarterPack"] = 21;
  228. ["BindableFunction"] = 67;
  229. ["ReflectionMetadataCallbacks"] = 87;
  230. ["NetworkClient"] = 17;
  231. ["ModuleScript"] = 72;
  232. ["Flag"] = 39;
  233. ["Status"] = 3;
  234. ["ParticleEmitter"] = 70;
  235. ["StarterPlayer"] = 89;
  236. ["StringValue"] = 5;
  237. ["ObjectValue"] = 5;
  238. ["CharacterMesh"] = 61;
  239. ["StarterGui"] = 47;
  240. ["ReplicatedStorage"] = 73;
  241. ["StarterCharacterScripts"] = 83;
  242. ["NetworkServer"] = 16;
  243. ["Backpack"] = 21;
  244. ["ReflectionMetadataEnum"] = 87;
  245. ["StarterPlayerScripts"] = 83;
  246. ["SpotLight"] = 14;
  247. ["CustomEventReceiver"] = 5;
  248. ["SphereHandleAdornment"] = 55;
  249. ["SoundService"] = 32;
  250. ["SpecialMesh"] = 9;
  251. ["SpawnLocation"] = 26;
  252. ["PlayerScripts"] = 83;
  253. ["PartPairLasso"] = 58;
  254. ["ColorCorrectionEffect"] = 91;
  255. ["UnionOperation"] = 78;
  256. ["Sky"] = 29;
  257. ["MoveToConstraint"] = 90;
  258. ["RopeConstraint"] = 90;
  259. ["RightAngleRampPart"] = 2;
  260. ["ShirtGraphic"] = 41;
  261. ["ScreenGui"] = 48;
  262. ["SelectionSphere"] = 55;
  263. ["RotateV"] = 35;
  264. ["SelectionBox"] = 55;
  265. ["VehicleSeat"] = 36;
  266. ["CustomEvent"] = 5;
  267. ["Chat"] = 34;
  268. ["ServerStorage"] = 75;
  269. ["Selection"] = 56;
  270. ["IntValue"] = 5;
  271. ["RotateP"] = 35;
  272. ["FloorWire"] = 5;
  273. ["TrussPart"] = 2;
  274. ["StarterGear"] = 21;
  275. ["ReflectionMetadataYieldFunctions"] = 87;
  276. ["ReflectionMetadataProperties"] = 87;
  277. ["ReflectionMetadataEvents"] = 87;
  278. ["ReflectionMetadataEnums"] = 87;
  279. ["ReflectionMetadataEnumItem"] = 87;
  280. ["ReflectionMetadataClass"] = 87;
  281. ["PrismPart"] = 2;
  282. ["BinaryStringValue"] = 5;
  283. ["Glue"] = 35;
  284. ["PrismaticConstraint"] = 90;
  285. ["TouchTransmitter"] = 38;
  286. ["CornerWedgePart"] = 2;
  287. ["PathfindingService"] = 38;
  288. ["SpringConstraint"] = 90;
  289. ["Fire"] = 62;
  290. ["Pants"] = 45;
  291. ["NumberValue"] = 5;
  292. ["TestService"] = 69;
  293. ["Motor6D"] = 35;
  294. ["Motor"] = 35;
  295. ["CylindricalConstraint"] = 90;
  296. ["MarketplaceService"] = 47;
  297. ["CoreScript"] = 19;
  298. ["CylinderMesh"] = 9;
  299. ["ConeHandleAdornment"] = 55;
  300. ["SunRaysEffect"] = 91;
  301. ["LocalScript"] = 19;
  302. ["Weld"] = 35;
  303. ["Attachment"] = 35;
  304. ["BoolValue"] = 5;
  305. ["Dialog"] = 63;
  306. ["Pose"] = 61;
  307. ["Decal"] = 8;
  308. ["Hat"] = 46;
  309. ["AnimationTrack"] = 61;
  310. ["ClickDetector"] = 42;
  311. ["Frame"] = 49;
  312. ["LogService"] = 88;
  313. ["FileMesh"] = 9;
  314. ["InsertService"] = 73;
  315. ["HingeConstraint"] = 90;
  316. ["Message"] = 34;
  317. ["Player"] = 13;
  318. ["ContextActionService"] = 42;
  319. ["ContentProvider"] = 73;
  320. ["BodyPosition"] = 15;
  321. ["BoxHandleAdornment"] = 55;
  322. ["ScrollingFrame"] = 49;
  323. ["Keyframe"] = 61;
  324. }
  325.  
  326. --== End ==--
  327.  
  328. --== Make UIs ==--
  329.  
  330. local Main = Create("ScreenGui", {Parent=service.Players.LocalPlayer.PlayerGui,Name="Mr.Spy - Rebug REX/Kurokku",ResetOnSpawn=false})
  331. local Hub = Create("TextButton", {Name="Hub",Visible=false,Size=UDim2.new(0,600,0,50),Position=UDim2.new(0.5,-300,0.5,-200),Draggable=true,BackgroundTransparency=1,Text="",Parent=Main,ZIndex=1})
  332. local RealUI = Create("Frame", {Name="Main",Size=UDim2.new(1,0,7,0),Position=UDim2.new(0,0,1,0),BackgroundColor3=Color3.fromRGB(200,200,200),BackgroundTransparency=1,BorderSizePixel=0,Parent=Hub,ZIndex=2})
  333. local TextureHolder = Create("Frame", {Name="Holder",ClipsDescendants=true,Size=UDim2.new(1,0,1,0),Parent=RealUI,BackgroundTransparency=1,BorderSizePixel=0,ZIndex=3})
  334. local Texture1 = Create("ImageLabel", {Name="BG",Size=UDim2.new(2,0,2,0),ScaleType="Tile",TileSize=UDim2.new(0,100,0,100),ImageColor3=Color3.fromRGB(44, 44, 44),Image="rbxassetid://585867512",Parent=TextureHolder,BackgroundTransparency=1,BorderSizePixel=0,ZIndex=3})
  335. local Bar = Create("Frame", {Name="Bar",Size=UDim2.new(1,0,1,0),Position=UDim2.new(0,0,0,0),BackgroundColor3=Color3.fromRGB(63, 63, 63),BackgroundTransparency=0,BorderSizePixel=0,Parent=Hub,ZIndex=6})
  336. local Credits = Create("TextLabel",{Parent=Bar,ZIndex=7,Font="SourceSansBold",TextSize=20,Size=UDim2.new(.5,0,1,0),Position=UDim2.new(0,10,0,0),TextStrokeTransparency=1,Text="Mr.Spy - Rebug REX/Kurokku",TextColor3=Color3.fromRGB(230,230,230),BackgroundTransparency=1,TextXAlignment="Left",BorderSizePixel=0})
  337. local Exit = Create("TextButton", {Name="Exit",Size=UDim2.new(0.1,0,.8,0),Position=UDim2.new(0.9,0,0.1,0),BackgroundTransparency=1,TextColor3=Color3.fromRGB(255,255,255),TextWrapped=true,TextScaled=true,Text="x",Parent=Bar,ZIndex=8})
  338. local Minimize = Create("TextButton", {Name="Minimize",Size=UDim2.new(0.1,0,1,0),Position=UDim2.new(0.8,0,0,0),BackgroundTransparency=1,TextColor3=Color3.fromRGB(255,255,255),TextWrapped=true,TextScaled=true,Text="-",Parent=Bar,ZIndex=8})
  339. local Open = Create("TextButton", {Name="Open",Font="SourceSansLight",AutoButtonColor=false,Size=UDim2.new(0,60,0,20),ZIndex=2,BackgroundColor3=Color3.fromRGB(63, 63, 63),Position=UDim2.new(.5,-30,.9,-10),BackgroundTransparency=0,BorderSizePixel=0,TextColor3=Color3.fromRGB(255,255,255),TextWrapped=true,TextScaled=true,Text=" Open ",Parent=Main})
  340. local IconFrame = Create("Frame", {Name="MapHolder",Size=UDim2.new(0,16,0,16),BackgroundTransparency=1,ClipsDescendants=true,ZIndex=100,Parent=nil})
  341. local IconMap = Create("ImageLabel", {Name="IconMap",Size=UDim2.new(0,256,0,256),Image="rbxassetid://483448923",Parent=IconFrame,BackgroundTransparency=1,BorderSizePixel=0,ZIndex=100})
  342. local Scroller = Create("ScrollingFrame", {Name="Remotes",Size=UDim2.new(1,0,1,0),CanvasSize=UDim2.new(0,0,0,0),Parent=RealUI,ZIndex=5,BackgroundTransparency=1,BorderSizePixel=0,TopImage="rbxasset://textures/ui/Scroll/scroll-middle.png",BottomImage="rbxasset://textures/ui/Scroll/scroll-middle.png"})
  343. local RemoteTemplate = Create("Frame",{Name="Template",Size=UDim2.new(1,0,0,40),Parent=nil,ZIndex=6,BackgroundTransparency=1})
  344. local RemoteName = Create("TextLabel",{Name="RemoteName",Parent=RemoteTemplate,TextColor3=Color3.fromRGB(230,230,230),BackgroundTransparency=1,ZIndex=7,Size=UDim2.new(1,-26,1,0),Position=UDim2.new(0,30,0,0),TextXAlignment="Left"})
  345. local SpyButton = Create("TextButton", {Name="SpyRemote",Parent=RemoteTemplate,TextColor3=Color3.fromRGB(230,230,230),AutoButtonColor=false,BorderSizePixel=0,BackgroundColor3=Color3.fromRGB(63, 63, 63),Size=UDim2.new(0.075,0,0.45,0),ZIndex=9,Text="Spy"})
  346. local PathButton = Create("TextButton", {Name="PathButton",Parent=RemoteTemplate,TextColor3=Color3.fromRGB(230,230,230),AutoButtonColor=false,BorderSizePixel=0,BackgroundColor3=Color3.fromRGB(63, 63, 63),Size=UDim2.new(0.1,0,0.45,0),ZIndex=9,Text="Get Path"})
  347. local OpenSpy = Create("TextButton", {Name="OpenButton",Parent=RemoteTemplate,TextColor3=Color3.fromRGB(230,230,230),AutoButtonColor=false,BorderSizePixel=0,BackgroundColor3=Color3.fromRGB(63, 63, 63),Size=UDim2.new(0.18,0,0.45,0),ZIndex=9,Text="Copy to Clipboard"})
  348. local spyAll = Create("TextButton", {Name="SpyAll",Parent=RealUI,TextColor3=Color3.fromRGB(230,230,230),AutoButtonColor=false,BorderSizePixel=0,BackgroundColor3=Color3.fromRGB(63, 63, 63),Size=UDim2.new(0.2,0,0.075,0),Position=UDim2.new(0.05,0,1.05,0),ZIndex=9,Text="Spy all Remotes"})
  349. local UnspyAll = Create("TextButton", {Name="UnSpyAll",Parent=RealUI,TextColor3=Color3.fromRGB(230,230,230),AutoButtonColor=false,BorderSizePixel=0,BackgroundColor3=Color3.fromRGB(63, 63, 63),Size=UDim2.new(0.2,0,0.075,0),Position=UDim2.new(0.3,0,1.05,0),ZIndex=9,Text="Unspy all Remotes"})
  350.  
  351. local ExplorerWindow = Create("TextButton", {Name="Explorer",Visible=false,Size=UDim2.new(0,200,0,50),Position=UDim2.new(0.8,-75,0.5,-200),Draggable=true,BackgroundTransparency=1,Text="",Parent=Main,ZIndex=1})
  352. local Bar2 = Create("Frame", {Name="Bar",Size=UDim2.new(1,0,1,0),Position=UDim2.new(0,0,0,0),BackgroundColor3=Color3.fromRGB(63, 63, 63),BackgroundTransparency=0,BorderSizePixel=0,Parent=ExplorerWindow,ZIndex=6})
  353. local ExplorerName = Create("TextLabel",{Parent=Bar2,ZIndex=7,Font="SourceSansBold",TextSize=20,Size=UDim2.new(.5,0,1,0),Position=UDim2.new(0,10,0,0),TextStrokeTransparency=1,Text="Explorer",TextColor3=Color3.fromRGB(230,230,230),BackgroundTransparency=1,TextXAlignment="Left",BorderSizePixel=0})
  354. local Minimize2 = Create("TextButton", {Name="Minimize",Size=UDim2.new(0.1,0,1,0),Position=UDim2.new(0.85,0,0,0),BackgroundTransparency=1,TextColor3=Color3.fromRGB(255,255,255),TextWrapped=true,TextScaled=true,Text="-",Parent=Bar2,ZIndex=8})
  355. local RealExUI = Create("Frame", {Name="ExMain",Size=UDim2.new(1,0,7,0),Position=UDim2.new(0,0,1,0),BackgroundColor3=Color3.fromRGB(200,200,200),BackgroundTransparency=1,BorderSizePixel=0,Parent=ExplorerWindow,ZIndex=2})
  356. local TextureHolder2 = Create("Frame", {Name="Holder",ClipsDescendants=true,Size=UDim2.new(1,0,1,0),Parent=RealExUI,BackgroundTransparency=1,BorderSizePixel=0,ZIndex=3})
  357. local Texture2 = Create("ImageLabel", {Name="BG",Size=UDim2.new(2,0,2,0),ScaleType="Tile",TileSize=UDim2.new(0,100,0,100),ImageColor3=Color3.fromRGB(44, 44, 44),Image="rbxassetid://585867512",Parent=TextureHolder2,BackgroundTransparency=1,BorderSizePixel=0,ZIndex=3})
  358. local Scroller2 = Create("ScrollingFrame", {Name="Path",Size=UDim2.new(1,0,1,0),CanvasSize=UDim2.new(0,0,0,0),Parent=RealExUI,ZIndex=500,BackgroundTransparency=1,BorderSizePixel=0,TopImage="rbxasset://textures/ui/Scroll/scroll-middle.png",BottomImage="rbxasset://textures/ui/Scroll/scroll-middle.png"})
  359. local PathTemplate = Create("Frame",{Name="PathTemplate",Size=UDim2.new(1,0,0,20),Parent=nil,ZIndex=6,BackgroundTransparency=1})
  360. local PathName = Create("TextLabel",{Name="PathName",Parent=PathTemplate,TextColor3=Color3.fromRGB(230,230,230),BackgroundTransparency=1,ZIndex=7,Size=UDim2.new(1,0,1,0),Position=UDim2.new(0,20,0,0),TextXAlignment="Left"})
  361. local IconModeFrame = Create("Frame", {Name="Mode",Size=UDim2.new(0,16,0,16),BackgroundTransparency=1,ClipsDescendants=true,ZIndex=100,Parent=nil})
  362. local IconModeMap = Create("ImageLabel", {Name="IconMap",Size=UDim2.new(0,256,0,256),Image="rbxassetid://483448923",Parent=IconModeFrame,BackgroundTransparency=1,BorderSizePixel=0,ZIndex=100})
  363. local ModeBtn = Create("TextButton", {Name="Button",Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,Text="",ZIndex=101,Parent=IconModeFrame})
  364. local HoverFrame = Create("Frame", {Name="HoverFrame",Size=UDim2.new(1000,0,1,0),Parent=PathTemplate,ZIndex=102,BackgroundTransparency=1,BorderSizePixel=0,BackgroundColor3=Color3.fromRGB(255,255,255)})
  365.  
  366. local LogWindow = Create("TextButton", {Name="Logs",Visible=false,Size=UDim2.new(0,300,0,50),Position=UDim2.new(0.16,-175,0.5,-200),Draggable=true,BackgroundTransparency=1,Text="",Parent=Main,ZIndex=1})
  367. local Bar3 = Create("Frame", {Name="Bar",Size=UDim2.new(1,0,1,0),Position=UDim2.new(0,0,0,0),BackgroundColor3=Color3.fromRGB(63, 63, 63),BackgroundTransparency=0,BorderSizePixel=0,Parent=LogWindow,ZIndex=6})
  368. local LogName = Create("TextLabel",{Parent=Bar3,ZIndex=7,Font="SourceSansBold",TextSize=20,Size=UDim2.new(.5,0,1,0),Position=UDim2.new(0,10,0,0),TextStrokeTransparency=1,Text="Event Logs",TextColor3=Color3.fromRGB(230,230,230),BackgroundTransparency=1,TextXAlignment="Left",BorderSizePixel=0})
  369. local Minimize3 = Create("TextButton", {Name="Minimize",Size=UDim2.new(0.1,0,1,0),Position=UDim2.new(0.85,0,0,0),BackgroundTransparency=1,TextColor3=Color3.fromRGB(255,255,255),TextWrapped=true,TextScaled=true,Text="-",Parent=Bar3,ZIndex=8})
  370. local RealLogUI = Create("Frame", {Name="LMain",Size=UDim2.new(1,0,7,0),Position=UDim2.new(0,0,1,0),BackgroundColor3=Color3.fromRGB(200,200,200),BackgroundTransparency=1,BorderSizePixel=0,Parent=LogWindow,ZIndex=2})
  371. local TextureHolder3 = Create("Frame", {Name="Holder",ClipsDescendants=true,Size=UDim2.new(1,0,1,0),Parent=RealLogUI,BackgroundTransparency=1,BorderSizePixel=0,ZIndex=3})
  372. local Texture3 = Create("ImageLabel", {Name="BG",Size=UDim2.new(2,0,2,0),ScaleType="Tile",TileSize=UDim2.new(0,100,0,100),ImageColor3=Color3.fromRGB(44, 44, 44),Image="rbxassetid://585867512",Parent=TextureHolder3,BackgroundTransparency=1,BorderSizePixel=0,ZIndex=3})
  373. local Scroller3 = Create("ScrollingFrame", {Name="Logs",Size=UDim2.new(1,0,1,0),CanvasSize=UDim2.new(0,0,0,0),Parent=RealLogUI,ZIndex=500,BackgroundTransparency=1,BorderSizePixel=0,TopImage="rbxasset://textures/ui/Scroll/scroll-middle.png",BottomImage="rbxasset://textures/ui/Scroll/scroll-middle.png"})
  374. local LogTemplate = Create("Frame",{Name="LogTemplate",Size=UDim2.new(1,0,0,20),Parent=nil,ZIndex=6,BackgroundTransparency=1})
  375. local LogName = Create("TextLabel",{Name="LogName",Parent=LogTemplate,TextColor3=Color3.fromRGB(230,230,230),BackgroundTransparency=1,ZIndex=7,Size=UDim2.new(1,0,1,0),Position=UDim2.new(0,20,0,0),TextXAlignment="Left"})
  376.  
  377. local Removed = false
  378. Main.ChildRemoved:Connect(function()
  379. if not Removed then
  380. Removed = true
  381. BreakCode()
  382. end
  383. end)
  384.  
  385. --MakeShadows--
  386. local HubShadows = MakeShadow(Hub,1,3,7,1)
  387. MakeShadow(Bar,5,3,1,0)
  388. MakeShadow(Bar2,5,3,1,0)
  389. MakeShadow(Open,1,3,1,0)
  390. MakeShadow(Bar3,5,3,1,0)
  391. MakeShadow(SpyButton,8,3,1,0)
  392. MakeShadow(PathButton,8,3,1,0)
  393. MakeShadow(OpenSpy,8,3,1,0)
  394. MakeShadow(spyAll,8,3,1,0)
  395. local ExplorerShadows = MakeShadow(ExplorerWindow,1,3,7,1)
  396. local LogShadows = MakeShadow(LogWindow,1,3,7,1)
  397. --== End ==--
  398.  
  399. --== UI Functions ==--
  400.  
  401. function LoadIcon(service, frame, numb)
  402. if Indexs[service] or numb then
  403. local row = 1
  404. local col = 0
  405. if numb then
  406. for i = 1,numb do
  407. if i > colSize*row then
  408. col = 1
  409. row = row+1
  410. else
  411. col = col+1
  412. end
  413. end
  414. else
  415. for i = 1,Indexs[service] do
  416. if i > colSize*row then
  417. col = 1
  418. row = row+1
  419. else
  420. col = col+1
  421. end
  422. end
  423. end
  424. frame.IconMap.Position = UDim2.new(0,(-3+(-18*col))+18,0,(-3+(-18*row))+18)
  425. end
  426. end
  427.  
  428. spawn(function()
  429. local suc,er = pcall(function()
  430. while true do
  431. Texture1:TweenPosition(UDim2.new(-1,0,-1,0),"Out","Linear",30,true)
  432. wait(30)
  433. Texture1.Position = UDim2.new(0,0,0,0)
  434. end
  435. end)
  436. end)
  437.  
  438. spawn(function()
  439. local suc,er = pcall(function()
  440. while true do
  441. Texture2:TweenPosition(UDim2.new(-1,0,-1,0),"Out","Linear",30,true)
  442. wait(30)
  443. Texture2.Position = UDim2.new(0,0,0,0)
  444. end
  445. end)
  446. end)
  447.  
  448. spawn(function()
  449. local suc,er = pcall(function()
  450. while true do
  451. Texture3:TweenPosition(UDim2.new(-1,0,-1,0),"Out","Linear",30,true)
  452. wait(30)
  453. Texture3.Position = UDim2.new(0,0,0,0)
  454. end
  455. end)
  456. end)
  457.  
  458. local ExitDB=false
  459.  
  460. Open.MouseButton1Down:Connect(function()
  461. if not ExitDB then
  462. ExitDB = true
  463. Hub.Position = UDim2.new(0,-600,0.5,-200)
  464. ExplorerWindow.Position = UDim2.new(0.875,-75,-0.35,-200)
  465. LogWindow.Position = UDim2.new(0.16,-175,1,200)
  466. Hub.Visible = true
  467. ExplorerWindow.Visible = true
  468. LogWindow.Visible = true
  469. Open.Visible = false
  470. Hub:TweenPosition(UDim2.new(0.535,-300,0.5,-200),"Out","Elastic",0.5,true)
  471. wait(0.15)
  472. ExplorerWindow:TweenPosition(UDim2.new(0.875,-75,0.5,-200),"Out","Elastic",0.5,true)
  473. wait(0.15)
  474. LogWindow:TweenPosition(UDim2.new(0.16,-175,0.5,-200),"Out","Elastic",0.5,true)
  475. wait()
  476. game:GetService("TweenService"):Create(Open,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(63, 63, 63);}):Play()
  477. ExitDB = false
  478. end
  479. end)
  480.  
  481. Bar.MouseEnter:Connect(function()
  482. game:GetService("TweenService"):Create(Bar,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(80, 80, 80);}):Play()
  483. end)
  484.  
  485. Bar.MouseLeave:Connect(function()
  486. game:GetService("TweenService"):Create(Bar,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(63, 63, 63);}):Play()
  487. end)
  488.  
  489. Bar2.MouseEnter:Connect(function()
  490. game:GetService("TweenService"):Create(Bar2,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(80, 80, 80);}):Play()
  491. end)
  492.  
  493. Bar2.MouseLeave:Connect(function()
  494. game:GetService("TweenService"):Create(Bar2,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(63, 63, 63);}):Play()
  495. end)
  496.  
  497. Bar3.MouseEnter:Connect(function()
  498. game:GetService("TweenService"):Create(Bar3,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(80, 80, 80);}):Play()
  499. end)
  500.  
  501. Bar3.MouseLeave:Connect(function()
  502. game:GetService("TweenService"):Create(Bar3,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(63, 63, 63);}):Play()
  503. end)
  504.  
  505. Open.MouseEnter:Connect(function()
  506. game:GetService("TweenService"):Create(Open,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(80, 80, 80);}):Play()
  507. end)
  508.  
  509. Open.MouseLeave:Connect(function()
  510. game:GetService("TweenService"):Create(Open,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(63, 63, 63);}):Play()
  511. end)
  512.  
  513. spyAll.MouseEnter:Connect(function()
  514. game:GetService("TweenService"):Create(spyAll,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(80, 80, 80);}):Play()
  515. end)
  516.  
  517. spyAll.MouseLeave:Connect(function()
  518. game:GetService("TweenService"):Create(spyAll,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(63, 63, 63);}):Play()
  519. end)
  520.  
  521. UnspyAll.MouseEnter:Connect(function()
  522. game:GetService("TweenService"):Create(UnspyAll,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(80, 80, 80);}):Play()
  523. end)
  524.  
  525. UnspyAll.MouseLeave:Connect(function()
  526. game:GetService("TweenService"):Create(UnspyAll,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(63, 63, 63);}):Play()
  527. end)
  528.  
  529. Exit.MouseEnter:Connect(function()
  530. game:GetService("TweenService"):Create(Exit,TweenInfo.new(0.25),{TextColor3=Color3.fromRGB(170, 46, 46);}):Play()
  531. wait()
  532. game:GetService("TweenService"):Create(Bar,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(63, 63, 63);}):Play()
  533. end)
  534.  
  535. Exit.MouseLeave:Connect(function()
  536. game:GetService("TweenService"):Create(Exit,TweenInfo.new(0.25),{TextColor3=Color3.fromRGB(255, 255, 255);}):Play()
  537. game:GetService("TweenService"):Create(Bar,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(80, 80, 80);}):Play()
  538. end)
  539.  
  540. Minimize.MouseEnter:Connect(function()
  541. game:GetService("TweenService"):Create(Minimize,TweenInfo.new(0.25),{TextColor3=Color3.fromRGB(150, 150, 150);}):Play()
  542. wait()
  543. game:GetService("TweenService"):Create(Bar,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(63, 63, 63);}):Play()
  544. end)
  545.  
  546. Minimize.MouseLeave:Connect(function()
  547. game:GetService("TweenService"):Create(Minimize,TweenInfo.new(0.25),{TextColor3=Color3.fromRGB(255, 255, 255);}):Play()
  548. game:GetService("TweenService"):Create(Bar,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(80, 80, 80);}):Play()
  549. end)
  550.  
  551. Minimize2.MouseEnter:Connect(function()
  552. game:GetService("TweenService"):Create(Minimize2,TweenInfo.new(0.25),{TextColor3=Color3.fromRGB(150, 150, 150);}):Play()
  553. wait()
  554. game:GetService("TweenService"):Create(Bar2,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(63, 63, 63);}):Play()
  555. end)
  556.  
  557. Minimize2.MouseLeave:Connect(function()
  558. game:GetService("TweenService"):Create(Minimize2,TweenInfo.new(0.25),{TextColor3=Color3.fromRGB(255, 255, 255);}):Play()
  559. game:GetService("TweenService"):Create(Bar2,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(80, 80, 80);}):Play()
  560. end)
  561.  
  562. Minimize3.MouseEnter:Connect(function()
  563. game:GetService("TweenService"):Create(Minimize3,TweenInfo.new(0.25),{TextColor3=Color3.fromRGB(150, 150, 150);}):Play()
  564. wait()
  565. game:GetService("TweenService"):Create(Bar3,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(63, 63, 63);}):Play()
  566. end)
  567.  
  568. Minimize3.MouseLeave:Connect(function()
  569. game:GetService("TweenService"):Create(Minimize3,TweenInfo.new(0.25),{TextColor3=Color3.fromRGB(255, 255, 255);}):Play()
  570. game:GetService("TweenService"):Create(Bar3,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(80, 80, 80);}):Play()
  571. end)
  572.  
  573. local minDB1 = false
  574. Minimize.MouseButton1Down:Connect(function()
  575. if not minDB1 then
  576. minDB1 = true
  577. if RealUI.Visible then
  578. RealUI.Visible = false
  579. for i,v in pairs(HubShadows) do
  580. v.Visible = false
  581. end
  582. else
  583. RealUI.Visible = true
  584. for i,v in pairs(HubShadows) do
  585. v.Visible = true
  586. end
  587. end
  588. minDB1 = false
  589. end
  590. end)
  591.  
  592. local minDB2 = false
  593. Minimize2.MouseButton1Down:Connect(function()
  594. if not minDB2 then
  595. minDB2 = true
  596. if RealExUI.Visible then
  597. RealExUI.Visible = false
  598. for i,v in pairs(ExplorerShadows) do
  599. v.Visible = false
  600. end
  601. else
  602. RealExUI.Visible = true
  603. for i,v in pairs(ExplorerShadows) do
  604. v.Visible = true
  605. end
  606. end
  607. minDB2 = false
  608. end
  609. end)
  610.  
  611. local minDB3 = false
  612. Minimize3.MouseButton1Down:Connect(function()
  613. if not minDB3 then
  614. minDB3 = true
  615. if RealLogUI.Visible then
  616. RealLogUI.Visible = false
  617. for i,v in pairs(LogShadows) do
  618. v.Visible = false
  619. end
  620. else
  621. RealLogUI.Visible = true
  622. for i,v in pairs(LogShadows) do
  623. v.Visible = true
  624. end
  625. end
  626. minDB3 = false
  627. end
  628. end)
  629.  
  630. Exit.MouseButton1Down:Connect(function()
  631. if not ExitDB then
  632. ExitDB = true
  633. Open.Visible = true
  634. Hub:TweenPosition(UDim2.new(-0.2,-600,-1,0),"In","Quart",0.5,true)
  635. wait(0.15)
  636. ExplorerWindow:TweenPosition(UDim2.new(1,200,-1,0),"In","Quart",0.5,true)
  637. wait(0.15)
  638. LogWindow:TweenPosition(UDim2.new(-0.5,-300,1,0),"In","Quart",0.5,true)
  639. wait(0.5)
  640. game:GetService("TweenService"):Create(Bar,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(63, 63, 63);}):Play()
  641. game:GetService("TweenService"):Create(Minimize,TweenInfo.new(0.25),{TextColor3=Color3.fromRGB(255, 255, 255);}):Play()
  642. game:GetService("TweenService"):Create(Exit,TweenInfo.new(0.25),{TextColor3=Color3.fromRGB(255, 255, 255);}):Play()
  643. Hub.Visible = false
  644. ExplorerWindow.Visible = false
  645. LogWindow.Visible = false
  646. Open.Visible = true
  647. ExitDB = false
  648. end
  649. end)
  650.  
  651. local classMethods = {
  652. BindableEvent = "Fire";
  653. BindableFunction = "Invoke";
  654. RemoteEvent = "FireServer";
  655. RemoteFunction = "InvokeServer";
  656. }
  657.  
  658. local realMethods = {}
  659. local pseudoEnv = {}
  660.  
  661. local Spying = {}
  662. local SpyedNumb = 1
  663.  
  664. for i,v in pairs(classMethods) do
  665. realMethods[v] = Instance.new(i)[classMethods[i]]
  666. end
  667. local BiggestX = 0
  668. function AddUI(args)
  669. local NewUI = LogTemplate:Clone()
  670. local mapp = IconFrame:Clone()
  671. LoadIcon(args[1].ClassName, mapp)
  672. mapp.Position = UDim2.new(0,0,0.5,-8)
  673. NewUI.LogName.Text = "Name: \""..args[1].Name .. "\" | "..args[2]
  674. NewUI.Position = UDim2.new(0,0,0,SpyedNumb*20)
  675. NewUI.Parent = Scroller3
  676. mapp.Parent = NewUI
  677. SpyedNumb = SpyedNumb + 1
  678. if BiggestX < NewUI.LogName.TextBounds.X then
  679. BiggestX = NewUI.LogName.TextBounds.X
  680. end
  681. Scroller3.CanvasSize = UDim2.new(0,BiggestX+20,0,20*#Scroller3:GetChildren()+20)
  682. end
  683.  
  684. function GetNameCall(obj)
  685. if obj.ClassName == "RemoteEvent" then
  686. return "FireServer"
  687. elseif obj.ClassName == "RemoteFunction" then
  688. return "InvokeServer"
  689. elseif obj.ClassName == "BindableEvent" then
  690. return "Fire"
  691. elseif obj.ClassName == "BindabledFunction" then
  692. return "Invoke"
  693. end
  694. end
  695.  
  696. function LoadRemoteSpy()
  697. if tostring(_G.Exploit) == "Synapse" then
  698. local function hook(methodname, self, ...)
  699. local args = {...}
  700. local ret = {realMethods[methodname](self,...)}
  701. if not realMethods[methodname] then return unpack(ret) end
  702. if not Spying[self] then return unpack(ret) end
  703. SpyArgs[SpyedNumb] = {self,ReturnArgs(GetNameCall(self),self,...)}
  704. AddUI(SpyArgs[SpyedNumb])
  705. return unpack(ret)
  706. end
  707. Synapse:SetNamecallHook("FireServer", function(self, ...)
  708. if self:IsA("RemoteEvent") then
  709. hook(GetNameCall(self), self, ...)
  710. end
  711. end)
  712. Synapse:SetNamecallHook("InvokeServer", function(self, ...)
  713. if self:IsA("RemoteFunction") then
  714. hook(GetNameCall(self), self, ...)
  715. end
  716. end)
  717. Synapse:SetNamecallHook("Fire", function(self, ...)
  718. if self:IsA("BindableEvent") then
  719. hook(GetNameCall(self), self, ...)
  720. end
  721. end)
  722. Synapse:SetNamecallHook("Invoke", function(self, ...)
  723. if self:IsA("BindableFunction") then
  724. hook(GetNameCall(self), self, ...)
  725. end
  726. end)
  727. elseif tostring(_G.Exploit) == "SetWrite" then
  728. setreadonly(getrawmetatable(game), false)
  729. local pseudoEnv = {}
  730. local gameMeta = getrawmetatable(game)
  731. for key, value in next, gameMeta do pseudoEnv[key] = value end
  732. gameMeta.__index, gameMeta.__namecall = function(self, key)
  733. if not realMethods[key] then return pseudoEnv.__index(self, key) end
  734. if not Spying[self] then return pseudoEnv.__index(self, key) end
  735. return function(_, ...)
  736. local returnValues = {realMethods[key](self, ...)}
  737. SpyArgs[SpyedNumb] = {self,ReturnArgs(GetNameCall(self),self,...)}
  738. AddUI(SpyArgs[SpyedNumb])
  739. return unpack(returnValues)
  740. end
  741. end
  742. elseif tostring(_G.Exploit) == "Writeable" then
  743. make_writeable(getrawmetatable(game))
  744. local pseudoEnv = {}
  745. local gameMeta = getrawmetatable(game)
  746. for key, value in next, gameMeta do pseudoEnv[key] = value end
  747. gameMeta.__index, gameMeta.__namecall = function(self, key)
  748. if not realMethods[key] then return pseudoEnv.__index(self, key) end
  749. if not Spying[self] then return pseudoEnv.__index(self, key) end
  750. return function(_, ...)
  751. local returnValues = {realMethods[key](self, ...)}
  752. SpyArgs[SpyedNumb] = {self,ReturnArgs(GetNameCall(self),self,...)}
  753. AddUI(SpyArgs[SpyedNumb])
  754. return unpack(returnValues)
  755. end
  756. end
  757. elseif tostring(_G.Exploit) == "BackUp" then
  758. local pseudoEnv = {}
  759. local gameMeta = getrawmetatable(game)
  760. for key, value in next, gameMeta do pseudoEnv[key] = value end
  761. gameMeta.__index, gameMeta.__namecall = function(self, key)
  762. if not realMethods[key] then return pseudoEnv.__index(self, key) end
  763. if not Spying[self] then return pseudoEnv.__index(self, key) end
  764. return function(_, ...)
  765. local returnValues = {realMethods[key](self, ...)}
  766. SpyArgs[SpyedNumb] = {self,ReturnArgs(GetNameCall(self),self,...)}
  767. AddUI(SpyArgs[SpyedNumb])
  768. return unpack(returnValues)
  769. end
  770. end
  771. else
  772. print("Mr.Spy does not support your script executer due to it might not have a way to run \"getrawmetatable\"")
  773. end
  774. end
  775. LoadRemoteSpy()
  776.  
  777. local RemoteIgnores = {
  778. ["CharacterSoundEvent"] = true;
  779. ["MovementUpdate"] = true;
  780. ["FollowRelationshipChange"] = true;
  781. ["OnMessageDoneFiltering"] = true;
  782. ["SendNotification"] = true;
  783. ["SetDialogInUse"] = true;
  784. ["OnUnmuted"] = true;
  785. ["MutePlayerRequested"] = true;
  786. ["OnChannelJoined"] = true;
  787. ["OnNewMessage"] = true;
  788. ["SendNotificationInfo"] = true;
  789. ["GetFollowRelationships"] = true;
  790. ["GuiInsetChanged"] = true;
  791. ["NewFollower"] = true;
  792. ["OnNewSystemMessage"] = true;
  793. ["GetServerVersion"] = true;
  794. ["GetInitDataRequest"] = true;
  795. ["OnMainChannelSet"] = true;
  796. ["DefaultServerSoundEvent"] = true;
  797. ["ChannelNameColorUpdated"] = true;
  798. ["UnMutePlayerRequest"] = true;
  799. ["OnChannelLeft"] = true;
  800. ["SayMessageRequest"] = true;
  801. ["SetBlockedUserIdsRequest"] = true;
  802. ["FollowRelationshipChanged"] = true;
  803. ["GamepadNotifications"] = true;
  804. ["OnMuted"] = true;
  805. ["MutePlayerRequest"] = true;
  806. }
  807.  
  808. function StartSpy()
  809. local Remotes = {}
  810. local function MakeItem(v,pos)
  811. local temp = RemoteTemplate:Clone()
  812. local map = IconFrame:Clone()
  813. v[2] = temp
  814. LoadIcon(v[1].ClassName,map)
  815. map.Position = UDim2.new(0,10,0.5,-8)
  816. map.Parent = temp
  817. temp.Name = pos/40
  818. temp.RemoteName.Text = v[1].Name
  819. temp.Parent = Scroller
  820. temp.Position = UDim2.new(0,0,0,pos)
  821. temp.SpyRemote.TextColor3 = Color3.fromRGB(170, 46, 46)
  822. temp.SpyRemote.Position = UDim2.new(0,20+temp.RemoteName.TextBounds.X+15,0.225,0)
  823. temp.PathButton.Position = UDim2.new(temp.PathButton.Size.X.Scale,20+temp.RemoteName.TextBounds.X+15,0.225,0)
  824. temp.OpenButton.Position = UDim2.new(temp.OpenButton.Size.X.Scale+temp.PathButton.Size.X.Scale,temp.RemoteName.TextBounds.X,0.225,0)
  825. if Spying[v[1]] then
  826. temp.SpyRemote.TextColor3 = Color3.fromRGB(0, 170, 127)
  827. else
  828. temp.SpyRemote.TextColor3 = Color3.fromRGB(170, 46, 46)
  829. end
  830. temp.SpyRemote.MouseEnter:Connect(function()
  831. game:GetService("TweenService"):Create(temp.SpyRemote,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(80, 80, 80);}):Play()
  832. end)
  833. temp.SpyRemote.MouseLeave:Connect(function()
  834. game:GetService("TweenService"):Create(temp.SpyRemote,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(63, 63, 63);}):Play()
  835. end)
  836. temp.SpyRemote.MouseButton1Down:Connect(function()
  837. if not Spying[v[1]] then
  838. Spying[v[1]] = v[1]
  839. game:GetService("TweenService"):Create(temp.SpyRemote,TweenInfo.new(0.25),{TextColor3=Color3.fromRGB(0, 170, 127);}):Play()
  840. else
  841. Spying[v[1]] = nil
  842. game:GetService("TweenService"):Create(temp.SpyRemote,TweenInfo.new(0.25),{TextColor3=Color3.fromRGB(170, 46, 46);}):Play()
  843. end
  844. end)
  845. temp.PathButton.MouseEnter:Connect(function()
  846. game:GetService("TweenService"):Create(temp.PathButton,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(80, 80, 80);}):Play()
  847. end)
  848. temp.PathButton.MouseLeave:Connect(function()
  849. game:GetService("TweenService"):Create(temp.PathButton,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(63, 63, 63);}):Play()
  850. end)
  851. temp.OpenButton.MouseEnter:Connect(function()
  852. game:GetService("TweenService"):Create(temp.OpenButton,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(80, 80, 80);}):Play()
  853. end)
  854. temp.OpenButton.MouseLeave:Connect(function()
  855. game:GetService("TweenService"):Create(temp.OpenButton,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(63, 63, 63);}):Play()
  856. end)
  857. temp.OpenButton.MouseButton1Down:Connect(function()
  858. local suc,er = pcall(function() setclipboard("game."..v[1]:GetFullName()) end)
  859. local suc,er = pcall(function() toclipboard("game."..v[1]:GetFullName()) end)
  860. local suc,er = pcall(function() Synapse:CopyString("game."..v[1]:GetFullName()) end)
  861. local suc,er = pcall(function() Clipboard.set("game."..v[1]:GetFullName()) end)
  862. game:GetService("TweenService"):Create(temp.OpenButton,TweenInfo.new(0.1),{TextColor3=Color3.fromRGB(200, 200, 200);}):Play()
  863. wait(0.1)
  864. game:GetService("TweenService"):Create(temp.OpenButton,TweenInfo.new(0.1),{TextColor3=Color3.fromRGB(255, 255, 255);}):Play()
  865. end)
  866. local recurNumb = 1
  867. local path = {}
  868. local Numb = 0
  869. temp.PathButton.MouseButton1Down:Connect(function()
  870. recurNumb = 1
  871. Numb = 0
  872. local function Recur(obj)
  873. if obj == game then
  874. return
  875. else
  876. path[recurNumb] = obj
  877. end
  878. recurNumb = recurNumb + 1
  879. Recur(obj.Parent)
  880. end
  881. Recur(v[1])
  882. Scroller2:ClearAllChildren()
  883. local OGParent
  884. local maxTextX = 0
  885. for ii = #path,1,-1 do
  886. local obj = path[ii]
  887. local UI = PathTemplate:Clone()
  888. local Icon = IconFrame:Clone()
  889. local mode = IconModeFrame:Clone()
  890. if ii > 1 then
  891. mode.Parent = UI
  892. mode.Position = UDim2.new(0,-20,0.5,-8)
  893. LoadIcon(nil,mode,167)
  894. end
  895. LoadIcon(obj.ClassName,Icon)
  896. Icon.Position = UDim2.new(0,0,0.5,-8)
  897. Icon.Parent = UI
  898. UI.Name = "OBJ"
  899. UI.PathName.Text = obj.Name
  900. UI.Position = UDim2.new(0,20,0,21)
  901. UI.Size = UDim2.new(0,100,0,20)
  902. Numb = Numb+1
  903. local opened = true
  904. mode.MouseEnter:Connect(function()
  905. if not opened then
  906. LoadIcon(nil,mode,180)
  907. else
  908. LoadIcon(nil,mode,181)
  909. end
  910. end)
  911. mode.MouseLeave:Connect(function()
  912. if not opened then
  913. LoadIcon(nil,mode,166)
  914. else
  915. LoadIcon(nil,mode,167)
  916. end
  917. end)
  918. mode.Button.MouseButton1Down:Connect(function()
  919. if not opened then
  920. opened = true
  921. LoadIcon(nil,mode,181)
  922. UI.OBJ.Visible = true
  923. else
  924. opened = false
  925. LoadIcon(nil,mode,180)
  926. UI.OBJ.Visible = false
  927. end
  928. end)
  929. UI.HoverFrame.MouseEnter:Connect(function()
  930. game:GetService("TweenService"):Create(UI.HoverFrame,TweenInfo.new(0.25),{["BackgroundTransparency"] = 0.9;}):Play()
  931. end)
  932. UI.HoverFrame.MouseLeave:Connect(function()
  933. game:GetService("TweenService"):Create(UI.HoverFrame,TweenInfo.new(0.25),{["BackgroundTransparency"] = 1;}):Play()
  934. end)
  935. if not OGParent then
  936. UI.Position = UDim2.new(0,22,0,4)
  937. UI.Parent = Scroller2
  938. OGParent = UI
  939. else
  940. UI.Parent = OGParent
  941. OGParent = UI
  942. end
  943. if maxTextX < UI.PathName.TextBounds.X then
  944. maxTextX = UI.PathName.TextBounds.X
  945. end
  946. end
  947. Scroller2.CanvasSize = UDim2.new(0,(maxTextX+(#path*20))+10,0,(Numb*21)+4)
  948. game:GetService("TweenService"):Create(temp.PathButton,TweenInfo.new(0.1),{TextColor3=Color3.fromRGB(200, 200, 200);}):Play()
  949. wait(0.1)
  950. game:GetService("TweenService"):Create(temp.PathButton,TweenInfo.new(0.1),{TextColor3=Color3.fromRGB(255, 255, 255);}):Play()
  951. end)
  952. end
  953. local function LoadUI()
  954. Scroller:ClearAllChildren()
  955. local pos = 0
  956. for i,v in pairs(Remotes) do
  957. if v then
  958. MakeItem(v, pos)
  959. pos = pos+40
  960. end
  961. end
  962. Scroller.CanvasSize = UDim2.new(0,0,0,pos)
  963. end
  964. local function GetRemotes()
  965. local function Recursion(obj)
  966. for i,v in pairs(obj:GetChildren()) do
  967. local succ,err = pcall(function()
  968. if not RemoteIgnores[v.Name] then
  969. if v:IsA("RemoteEvent") or v:IsA("RemoteFunction") or v:IsA("BindableEvent") or v:IsA("BindableFunction") then
  970. Remotes[v] = {v}
  971. end
  972. end
  973. end)
  974. local suc,er = pcall(function()
  975. v:GetChildren()
  976. end)
  977. if suc and #v:GetChildren() > 0 then
  978. Recursion(v)
  979. end
  980. end
  981. end
  982. Recursion(game)
  983. end
  984. GetRemotes()
  985. LoadUI()
  986. for i,v in pairs(game:GetChildren()) do
  987. local suc, er = pcall(function()
  988. v:GetChildren()
  989. end)
  990. if suc then
  991. v.DescendantAdded:Connect(function(obj)
  992. wait(1)
  993. if not RemoteIgnores[obj.Name] then
  994. if obj:IsA("RemoteEvent") or obj:IsA("RemoteFunction") or obj:IsA("BindableEvent") or obj:IsA("BindableFunction") then
  995. Remotes[obj] = {obj}
  996. MakeItem(Remotes[obj],((#Scroller:GetChildren())*40))
  997. Scroller.CanvasSize = UDim2.new(0,0,0,Scroller.CanvasSize.Y.Offset+40)
  998. end
  999. end
  1000. end)
  1001. v.DescendantRemoving:Connect(function(obj)
  1002. if not RemoteIgnores[obj.Name] then
  1003. if obj:IsA("RemoteEvent") or obj:IsA("RemoteFunction") or obj:IsA("BindableEvent") or obj:IsA("BindableFunction") then
  1004. if Remotes[obj] then
  1005. for ii = tonumber(Remotes[obj][2].Name),#Scroller:GetChildren() do
  1006. if ii ~= tonumber(Remotes[obj][2].Name) then
  1007. local it = Scroller:FindFirstChild(ii)
  1008. if it then
  1009. it.Position = UDim2.new(0,0,0,it.Position.Y.Offset-40)
  1010. it.Name = tonumber(it.Name) - 1
  1011. end
  1012. end
  1013. end
  1014. Scroller.CanvasSize = UDim2.new(0,0,0,Scroller.CanvasSize.Y.Offset-40)
  1015. Remotes[obj][2]:Destroy()
  1016. Remotes[obj] = nil
  1017. end
  1018. end
  1019. end
  1020. end)
  1021. end
  1022. end
  1023. spyAll.MouseButton1Down:Connect(function()
  1024. spawn(function()
  1025. game:GetService("TweenService"):Create(spyAll,TweenInfo.new(0.1),{TextColor3=Color3.fromRGB(200, 200, 200);}):Play()
  1026. wait(0.1)
  1027. game:GetService("TweenService"):Create(spyAll,TweenInfo.new(0.1),{TextColor3=Color3.fromRGB(255, 255, 255);}):Play()
  1028. end)
  1029. for i,v in pairs(Remotes) do
  1030. game:GetService("TweenService"):Create(v[2].SpyRemote,TweenInfo.new(0.25),{TextColor3=Color3.fromRGB(0, 170, 127);}):Play()
  1031. Spying[v[1]] = v[1]
  1032. end
  1033. end)
  1034. UnspyAll.MouseButton1Down:Connect(function()
  1035. spawn(function()
  1036. game:GetService("TweenService"):Create(UnspyAll,TweenInfo.new(0.1),{TextColor3=Color3.fromRGB(200, 200, 200);}):Play()
  1037. wait(0.1)
  1038. game:GetService("TweenService"):Create(UnspyAll,TweenInfo.new(0.1),{TextColor3=Color3.fromRGB(255, 255, 255);}):Play()
  1039. end)
  1040. for i,v in pairs(Remotes) do
  1041. game:GetService("TweenService"):Create(v[2].SpyRemote,TweenInfo.new(0.25),{TextColor3=Color3.fromRGB(170, 46, 46);}):Play()
  1042. Spying[v[1]] = nil
  1043. end
  1044. end)
  1045. end
  1046. StartSpy()
  1047.  
  1048. --== End ==--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement