Advertisement
zza

Remotespy(Leak)

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