Advertisement
PoznavateI1

Remote Spy (Unpatched)

Jun 25th, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.68 KB | None | 0 0
  1. --== Made by Kurokku/Rebug REX ==--
  2.  
  3. --[[
  4. Note: Things are still being made as this is only the starting version. Bugs are expected
  5.  
  6. Compatible For:
  7. -Protosmasher
  8. -Synapse
  9. -Veil
  10. -QTX
  11. -RC7
  12. -Elysian
  13. -Seraph (Might crash though)
  14. -Prob some other exploits too, but I could be wrong.
  15.  
  16. Clipboard Works For:
  17. -Protosmasher
  18. -Veil
  19. -Synapse
  20. -More in the future
  21. --]]
  22.  
  23. --== Creation Functions ==--
  24.  
  25. function BreakCode()
  26. script:Destroy()
  27. end
  28.  
  29. local service = setmetatable({}, {
  30. __index = function(t, k)
  31. return game:GetService(k)
  32. end
  33. })
  34. local yemh = math.random(5,29)..math.random(10,528).."yes"..math.random(59,54312)
  35.  
  36. function Create(cls,props)
  37. local inst = Instance.new(cls)
  38. for i,v in pairs(props) do
  39. if i == "ZIndex" then
  40. inst[i] = v+10000000
  41. else
  42. inst[i] = v
  43. end
  44. end
  45. return inst
  46. end
  47.  
  48. _G.Exploit = (function()
  49. local writeable = pcall(function() make_writeable(getrawmetatable(game)) end)
  50. local setwrite = pcall(function() setreadonly(getrawmetatable(game), false) end)
  51. local synapse = Synapse or false
  52. local backup = pcall(function() getrawmetatable(game) end)
  53.  
  54. return (
  55. (writeable and "Writeable") or
  56. (setwrite and "SetWrite") or
  57. (synapse and "Synapse") or
  58. (backup and "BackUp") or
  59. "Unknown Exploit"
  60. )
  61. end)()
  62.  
  63. function GetType(item)
  64. if type(item) == "string" then
  65. return "\""..item.."\""
  66. elseif type(item) == "table" then
  67. local str = ""
  68. local max = 0
  69. local numb = 1
  70. for i,v in pairs(item) do
  71. max = max+1
  72. end
  73. for i,v in pairs(item) do
  74. if numb == max then
  75. str = str..GetType(v)
  76. else
  77. str = str..GetType(v)..", "
  78. end
  79. numb = numb + 1
  80. end
  81. str = str.."}"
  82. return str
  83. elseif type(item) == "userdata" then
  84. local a,b = pcall(function()
  85. return item.ClassName
  86. end)
  87. if a then
  88. return item:GetFullName()
  89. else
  90. if tostring(b):match("not a valid member of %w+") then
  91. local c, d = tostring(b):match("not a valid member of %w+"):find("of ")
  92. local class = tostring(b):match("not a valid member of %w+"):sub(d+1)
  93. return class..".new(".. tostring(item) ..")"
  94. end
  95. end
  96. else
  97. return tostring(item)
  98. end
  99. end
  100.  
  101. function ReturnArgs(Namecall, Object, ...)
  102. local args = {...}
  103. local list = "Namecall: ".. tostring(Namecall) .." | Args: ["
  104. local max = 0
  105. local numb = 1
  106. for i,v in pairs(args) do
  107. max = max + 1
  108. end
  109. for i,v in pairs(args) do
  110. if numb == max then
  111. list = list..GetType(v)
  112. else
  113. list = list..GetType(v)..", "
  114. end
  115. numb = numb + 1
  116. end
  117. list=list.."]"
  118. return list
  119. end
  120.  
  121. function MakeShadow(UI,Index,Amnt,Sizey,starty)
  122. local tab = {}
  123. for i = 1,Amnt do
  124. 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})
  125. end
  126. return tab
  127. end
  128.  
  129. --== End ==--
  130.  
  131. --== Variables ==--
  132.  
  133. local plr = service.Players.LocalPlayer
  134. local mouse = plr:GetMouse()
  135. local colSize = 14
  136. local SpyArgs = {}
  137. local Indexs = {
  138. ["BadgeService"] = 76;
  139. ["Humanoid"] = 10;
  140. ["GuiService"] = 48;
  141. ["CylinderHandleAdornment"] = 55;
  142. ["BallSocketConstraint"] = 90;
  143. ["BrickColorValue"] = 5;
  144. ["Accoutrement"] = 33;
  145. ["AdService"] = 74;
  146. ["AssetService"] = 73;
  147. ["GuiMain"] = 48;
  148. ["ImageButton"] = 53;
  149. ["HapticService"] = 85;
  150. ["DialogChoice"] = 64;
  151. ["Handles"] = 54;
  152. ["ReflectionMetadataClasses"] = 87;
  153. ["JointInstance"] = 35;
  154. ["AnimationController"] = 61;
  155. ["RemoteEvent"] = 81;
  156. ["CollectionService"] = 31;
  157. ["Smoke"] = 60;
  158. ["Configuration"] = 59;
  159. ["KeyframeSequenceProvider"] = 61;
  160. ["Accessory"] = 33;
  161. ["SelectionPointLasso"] = 58;
  162. ["GamePassService"] = 20;
  163. ["CFrameValue"] = 5;
  164. ["TextureTrail"] = 5;
  165. ["ImageLabel"] = 50;
  166. ["ReflectionMetadataMember"] = 87;
  167. ["Animation"] = 61;
  168. ["IntConstrainedValue"] = 5;
  169. ["HttpService"] = 77;
  170. ["PointLight"] = 14;
  171. ["Model"] = 3;
  172. ["DoubleConstrainedValue"] = 5;
  173. ["Snap"] = 35;
  174. ["BodyAngularVelocity"] = 15;
  175. ["VelocityMotor"] = 35;
  176. ["RocketPropulsion"] = 15;
  177. ["SurfaceSelection"] = 56;
  178. ["CoreGui"] = 47;
  179. ["Part"] = 2;
  180. ["ReplicatedFirst"] = 73;
  181. ["BindableEvent"] = 68;
  182. ["SelectionPartLasso"] = 58;
  183. ["NegateOperation"] = 79;
  184. ["PyramidPart"] = 2;
  185. ["ArcHandles"] = 57;
  186. ["Hint"] = 34;
  187. ["Players"] = 22;
  188. ["Script"] = 7;
  189. ["ParallelRampPart"] = 2;
  190. ["RayValue"] = 5;
  191. ["LineHandleAdornment"] = 55;
  192. ["Camera"] = 6;
  193. ["RunService"] = 67;
  194. ["BodyForce"] = 15;
  195. ["KeyframeSequence"] = 61;
  196. ["ServerScriptService"] = 1;
  197. ["BillboardGui"] = 65;
  198. ["BodyThrust"] = 15;
  199. ["RemoteFunction"] = 80;
  200. ["Team"] = 25;
  201. ["Sound"] = 12;
  202. ["GuiButton"] = 53;
  203. ["Workspace"] = 20;
  204. ["Lighting"] = 14;
  205. ["JointsService"] = 35;
  206. ["BlurEffect"] = 91;
  207. ["WedgePart"] = 2;
  208. ["BloomEffect"] = 91;
  209. ["ReflectionMetadata"] = 87;
  210. ["Vector3Value"] = 5;
  211. ["PointsService"] = 84;
  212. ["UserInputService"] = 85;
  213. ["Sparkles"] = 43;
  214. ["BodyGyro"] = 15;
  215. ["Rotate"] = 35;
  216. ["HopperBin"] = 23;
  217. ["ForceField"] = 38;
  218. ["Tool"] = 18;
  219. ["Texture"] = 11;
  220. ["Teams"] = 24;
  221. ["ReflectionMetadataFunctions"] = 87;
  222. ["RodConstraint"] = 90;
  223. ["Folder"] = 71;
  224. ["BodyVelocity"] = 15;
  225. ["Shirt"] = 44;
  226. ["SlidingBallConstraint"] = 90;
  227. ["Animator"] = 61;
  228. ["TextButton"] = 52;
  229. ["Color3Value"] = 5;
  230. ["TextBox"] = 52;
  231. ["NetworkReplicator"] = 30;
  232. ["Platform"] = 36;
  233. ["TerrainRegion"] = 66;
  234. ["SkateboardPlatform"] = 36;
  235. ["Seat"] = 36;
  236. ["Terrain"] = 66;
  237. ["Explosion"] = 37;
  238. ["BlockMesh"] = 9;
  239. ["TeleportService"] = 82;
  240. ["PlayerGui"] = 47;
  241. ["TextLabel"] = 51;
  242. ["SurfaceLight"] = 14;
  243. ["SurfaceGui"] = 65;
  244. ["Debris"] = 31;
  245. ["FlagStand"] = 40;
  246. ["StarterPack"] = 21;
  247. ["BindableFunction"] = 67;
  248. ["ReflectionMetadataCallbacks"] = 87;
  249. ["NetworkClient"] = 17;
  250. ["ModuleScript"] = 72;
  251. ["Flag"] = 39;
  252. ["Status"] = 3;
  253. ["ParticleEmitter"] = 70;
  254. ["StarterPlayer"] = 89;
  255. ["StringValue"] = 5;
  256. ["ObjectValue"] = 5;
  257. ["CharacterMesh"] = 61;
  258. ["StarterGui"] = 47;
  259. ["ReplicatedStorage"] = 73;
  260. ["StarterCharacterScripts"] = 83;
  261. ["NetworkServer"] = 16;
  262. ["Backpack"] = 21;
  263. ["ReflectionMetadataEnum"] = 87;
  264. ["StarterPlayerScripts"] = 83;
  265. ["SpotLight"] = 14;
  266. ["CustomEventReceiver"] = 5;
  267. ["SphereHandleAdornment"] = 55;
  268. ["SoundService"] = 32;
  269. ["SpecialMesh"] = 9;
  270. ["SpawnLocation"] = 26;
  271. ["PlayerScripts"] = 83;
  272. ["PartPairLasso"] = 58;
  273. ["ColorCorrectionEffect"] = 91;
  274. ["UnionOperation"] = 78;
  275. ["Sky"] = 29;
  276. ["MoveToConstraint"] = 90;
  277. ["RopeConstraint"] = 90;
  278. ["RightAngleRampPart"] = 2;
  279. ["ShirtGraphic"] = 41;
  280. ["ScreenGui"] = 48;
  281. ["SelectionSphere"] = 55;
  282. ["RotateV"] = 35;
  283. ["SelectionBox"] = 55;
  284. ["VehicleSeat"] = 36;
  285. ["CustomEvent"] = 5;
  286. ["Chat"] = 34;
  287. ["ServerStorage"] = 75;
  288. ["Selection"] = 56;
  289. ["IntValue"] = 5;
  290. ["RotateP"] = 35;
  291. ["FloorWire"] = 5;
  292. ["TrussPart"] = 2;
  293. ["StarterGear"] = 21;
  294. ["ReflectionMetadataYieldFunctions"] = 87;
  295. ["ReflectionMetadataProperties"] = 87;
  296. ["ReflectionMetadataEvents"] = 87;
  297. ["ReflectionMetadataEnums"] = 87;
  298. ["ReflectionMetadataEnumItem"] = 87;
  299. ["ReflectionMetadataClass"] = 87;
  300. ["PrismPart"] = 2;
  301. ["BinaryStringValue"] = 5;
  302. ["Glue"] = 35;
  303. ["PrismaticConstraint"] = 90;
  304. ["TouchTransmitter"] = 38;
  305. ["CornerWedgePart"] = 2;
  306. ["PathfindingService"] = 38;
  307. ["SpringConstraint"] = 90;
  308. ["Fire"] = 62;
  309. ["Pants"] = 45;
  310. ["NumberValue"] = 5;
  311. ["TestService"] = 69;
  312. ["Motor6D"] = 35;
  313. ["Motor"] = 35;
  314. ["CylindricalConstraint"] = 90;
  315. ["MarketplaceService"] = 47;
  316. ["CoreScript"] = 19;
  317. ["CylinderMesh"] = 9;
  318. ["ConeHandleAdornment"] = 55;
  319. ["SunRaysEffect"] = 91;
  320. ["LocalScript"] = 19;
  321. ["Weld"] = 35;
  322. ["Attachment"] = 35;
  323. ["BoolValue"] = 5;
  324. ["Dialog"] = 63;
  325. ["Pose"] = 61;
  326. ["Decal"] = 8;
  327. ["Hat"] = 46;
  328. ["AnimationTrack"] = 61;
  329. ["ClickDetector"] = 42;
  330. ["Frame"] = 49;
  331. ["LogService"] = 88;
  332. ["FileMesh"] = 9;
  333. ["InsertService"] = 73;
  334. ["HingeConstraint"] = 90;
  335. ["Message"] = 34;
  336. ["Player"] = 13;
  337. ["ContextActionService"] = 42;
  338. ["ContentProvider"] = 73;
  339. ["BodyPosition"] = 15;
  340. ["BoxHandleAdornment"] = 55;
  341. ["ScrollingFrame"] = 49;
  342. ["Keyframe"] = 61;
  343. }
  344.  
  345. --== End ==--
  346.  
  347. --== Make UIs ==--
  348.  
  349. local Main = Create("ScreenGui", {Parent=service.CoreGui,Name=yehm,ResetOnSpawn=false})
  350. 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})
  351. 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})
  352. local TextureHolder = Create("Frame", {Name="Holder",ClipsDescendants=true,Size=UDim2.new(1,0,1,0),Parent=RealUI,BackgroundTransparency=1,BorderSizePixel=0,ZIndex=3})
  353. 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})
  354. 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})
  355. 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})
  356. 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})
  357. 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})
  358. 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})
  359. local IconFrame = Create("Frame", {Name="MapHolder",Size=UDim2.new(0,16,0,16),BackgroundTransparency=1,ClipsDescendants=true,ZIndex=100,Parent=nil})
  360. local IconMap = Create("ImageLabel", {Name="IconMap",Size=UDim2.new(0,256,0,256),Image="rbxassetid://483448923",Parent=IconFrame,BackgroundTransparency=1,BorderSizePixel=0,ZIndex=100})
  361. 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"})
  362. local RemoteTemplate = Create("Frame",{Name="Template",Size=UDim2.new(1,0,0,40),Parent=nil,ZIndex=6,BackgroundTransparency=1})
  363. 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"})
  364. 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"})
  365. 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"})
  366. 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"})
  367.  
  368. 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})
  369. 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})
  370. 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})
  371. 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})
  372. 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})
  373. local TextureHolder2 = Create("Frame", {Name="Holder",ClipsDescendants=true,Size=UDim2.new(1,0,1,0),Parent=RealExUI,BackgroundTransparency=1,BorderSizePixel=0,ZIndex=3})
  374. 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})
  375. 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"})
  376. local PathTemplate = Create("Frame",{Name="PathTemplate",Size=UDim2.new(1,0,0,20),Parent=nil,ZIndex=6,BackgroundTransparency=1})
  377. 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"})
  378. local IconModeFrame = Create("Frame", {Name="Mode",Size=UDim2.new(0,16,0,16),BackgroundTransparency=1,ClipsDescendants=true,ZIndex=100,Parent=nil})
  379. local IconModeMap = Create("ImageLabel", {Name="IconMap",Size=UDim2.new(0,256,0,256),Image="rbxassetid://483448923",Parent=IconModeFrame,BackgroundTransparency=1,BorderSizePixel=0,ZIndex=100})
  380. local ModeBtn = Create("TextButton", {Name="Button",Size=UDim2.new(1,0,1,0),BackgroundTransparency=1,Text="",ZIndex=101,Parent=IconModeFrame})
  381. 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)})
  382.  
  383. 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})
  384. 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})
  385. 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})
  386. 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})
  387. 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})
  388. local TextureHolder3 = Create("Frame", {Name="Holder",ClipsDescendants=true,Size=UDim2.new(1,0,1,0),Parent=RealLogUI,BackgroundTransparency=1,BorderSizePixel=0,ZIndex=3})
  389. 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})
  390. 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"})
  391. local LogTemplate = Create("Frame",{Name="LogTemplate",Size=UDim2.new(1,0,0,20),Parent=nil,ZIndex=6,BackgroundTransparency=1})
  392. 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"})
  393.  
  394. local Removed = false
  395. Main.ChildRemoved:Connect(function()
  396. if not Removed then
  397. Removed = true
  398. BreakCode()
  399. end
  400. end)
  401.  
  402. --MakeShadows--
  403. local HubShadows = MakeShadow(Hub,1,3,7,1)
  404. MakeShadow(Bar,5,3,1,0)
  405. MakeShadow(Bar2,5,3,1,0)
  406. MakeShadow(Open,1,3,1,0)
  407. MakeShadow(Bar3,5,3,1,0)
  408. MakeShadow(SpyButton,8,3,1,0)
  409. MakeShadow(PathButton,8,3,1,0)
  410. MakeShadow(OpenSpy,8,3,1,0)
  411. local ExplorerShadows = MakeShadow(ExplorerWindow,1,3,7,1)
  412. local LogShadows = MakeShadow(LogWindow,1,3,7,1)
  413. --== End ==--
  414.  
  415. --== UI Functions ==--
  416.  
  417. function LoadIcon(service, frame, numb)
  418. if Indexs[service] or numb then
  419. local row = 1
  420. local col = 0
  421. if numb then
  422. for i = 1,numb do
  423. if i > colSize*row then
  424. col = 1
  425. row = row+1
  426. else
  427. col = col+1
  428. end
  429. end
  430. else
  431. for i = 1,Indexs[service] do
  432. if i > colSize*row then
  433. col = 1
  434. row = row+1
  435. else
  436. col = col+1
  437. end
  438. end
  439. end
  440. frame.IconMap.Position = UDim2.new(0,(-3+(-18*col))+18,0,(-3+(-18*row))+18)
  441. end
  442. end
  443.  
  444. spawn(function()
  445. local suc,er = pcall(function()
  446. while true do
  447. Texture1:TweenPosition(UDim2.new(-1,0,-1,0),"Out","Linear",30,true)
  448. wait(30)
  449. Texture1.Position = UDim2.new(0,0,0,0)
  450. end
  451. end)
  452. end)
  453.  
  454. spawn(function()
  455. local suc,er = pcall(function()
  456. while true do
  457. Texture2:TweenPosition(UDim2.new(-1,0,-1,0),"Out","Linear",30,true)
  458. wait(30)
  459. Texture2.Position = UDim2.new(0,0,0,0)
  460. end
  461. end)
  462. end)
  463.  
  464. spawn(function()
  465. local suc,er = pcall(function()
  466. while true do
  467. Texture3:TweenPosition(UDim2.new(-1,0,-1,0),"Out","Linear",30,true)
  468. wait(30)
  469. Texture3.Position = UDim2.new(0,0,0,0)
  470. end
  471. end)
  472. end)
  473.  
  474. local ExitDB=false
  475.  
  476. Open.MouseButton1Down:Connect(function()
  477. if not ExitDB then
  478. ExitDB = true
  479. Hub.Position = UDim2.new(0,-600,0.5,-200)
  480. ExplorerWindow.Position = UDim2.new(0.875,-75,-0.35,-200)
  481. LogWindow.Position = UDim2.new(0.16,-175,1,200)
  482. Hub.Visible = true
  483. ExplorerWindow.Visible = true
  484. LogWindow.Visible = true
  485. Open.Visible = false
  486. Hub:TweenPosition(UDim2.new(0.535,-300,0.5,-200),"Out","Elastic",0.5,true)
  487. wait(0.15)
  488. ExplorerWindow:TweenPosition(UDim2.new(0.875,-75,0.5,-200),"Out","Elastic",0.5,true)
  489. wait(0.15)
  490. LogWindow:TweenPosition(UDim2.new(0.16,-175,0.5,-200),"Out","Elastic",0.5,true)
  491. wait()
  492. game:GetService("TweenService"):Create(Open,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(63, 63, 63);}):Play()
  493. ExitDB = false
  494. end
  495. end)
  496.  
  497. Bar.MouseEnter:Connect(function()
  498. game:GetService("TweenService"):Create(Bar,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(80, 80, 80);}):Play()
  499. end)
  500.  
  501. Bar.MouseLeave:Connect(function()
  502. game:GetService("TweenService"):Create(Bar,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(63, 63, 63);}):Play()
  503. end)
  504.  
  505. Bar2.MouseEnter:Connect(function()
  506. game:GetService("TweenService"):Create(Bar2,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(80, 80, 80);}):Play()
  507. end)
  508.  
  509. Bar2.MouseLeave:Connect(function()
  510. game:GetService("TweenService"):Create(Bar2,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(63, 63, 63);}):Play()
  511. end)
  512.  
  513. Bar3.MouseEnter:Connect(function()
  514. game:GetService("TweenService"):Create(Bar3,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(80, 80, 80);}):Play()
  515. end)
  516.  
  517. Bar3.MouseLeave:Connect(function()
  518. game:GetService("TweenService"):Create(Bar3,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(63, 63, 63);}):Play()
  519. end)
  520.  
  521. Open.MouseEnter:Connect(function()
  522. game:GetService("TweenService"):Create(Open,TweenInfo.new(0.25),{BackgroundColor3=Color3.fromRGB(80, 80, 80);}):Play()
  523. end)
  524.  
  525. Open.MouseLeave:Connect(function()
  526. game:GetService("TweenService"):Create(Open,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. game:GetService("TweenService"):Create(temp.OpenButton,TweenInfo.new(0.1),{TextColor3=Color3.fromRGB(200, 200, 200);}):Play()
  862. wait(0.1)
  863. game:GetService("TweenService"):Create(temp.OpenButton,TweenInfo.new(0.1),{TextColor3=Color3.fromRGB(255, 255, 255);}):Play()
  864. end)
  865. local recurNumb = 1
  866. local path = {}
  867. local Numb = 0
  868. temp.PathButton.MouseButton1Down:Connect(function()
  869. recurNumb = 1
  870. Numb = 0
  871. local function Recur(obj)
  872. if obj == game then
  873. return
  874. else
  875. path[recurNumb] = obj
  876. end
  877. recurNumb = recurNumb + 1
  878. Recur(obj.Parent)
  879. end
  880. Recur(v[1])
  881. Scroller2:ClearAllChildren()
  882. local OGParent
  883. local maxTextX = 0
  884. for ii = #path,1,-1 do
  885. local obj = path[ii]
  886. local UI = PathTemplate:Clone()
  887. local Icon = IconFrame:Clone()
  888. local mode = IconModeFrame:Clone()
  889. if ii > 1 then
  890. mode.Parent = UI
  891. mode.Position = UDim2.new(0,-20,0.5,-8)
  892. LoadIcon(nil,mode,167)
  893. end
  894. LoadIcon(obj.ClassName,Icon)
  895. Icon.Position = UDim2.new(0,0,0.5,-8)
  896. Icon.Parent = UI
  897. UI.Name = "OBJ"
  898. UI.PathName.Text = obj.Name
  899. UI.Position = UDim2.new(0,20,0,21)
  900. UI.Size = UDim2.new(0,100,0,20)
  901. Numb = Numb+1
  902. local opened = true
  903. mode.MouseEnter:Connect(function()
  904. if not opened then
  905. LoadIcon(nil,mode,180)
  906. else
  907. LoadIcon(nil,mode,181)
  908. end
  909. end)
  910. mode.MouseLeave:Connect(function()
  911. if not opened then
  912. LoadIcon(nil,mode,166)
  913. else
  914. LoadIcon(nil,mode,167)
  915. end
  916. end)
  917. mode.Button.MouseButton1Down:Connect(function()
  918. if not opened then
  919. opened = true
  920. LoadIcon(nil,mode,181)
  921. UI.OBJ.Visible = true
  922. else
  923. opened = false
  924. LoadIcon(nil,mode,180)
  925. UI.OBJ.Visible = false
  926. end
  927. end)
  928. UI.HoverFrame.MouseEnter:Connect(function()
  929. game:GetService("TweenService"):Create(UI.HoverFrame,TweenInfo.new(0.25),{["BackgroundTransparency"] = 0.9;}):Play()
  930. end)
  931. UI.HoverFrame.MouseLeave:Connect(function()
  932. game:GetService("TweenService"):Create(UI.HoverFrame,TweenInfo.new(0.25),{["BackgroundTransparency"] = 1;}):Play()
  933. end)
  934. if not OGParent then
  935. UI.Position = UDim2.new(0,22,0,4)
  936. UI.Parent = Scroller2
  937. OGParent = UI
  938. else
  939. UI.Parent = OGParent
  940. OGParent = UI
  941. end
  942. if maxTextX < UI.PathName.TextBounds.X then
  943. maxTextX = UI.PathName.TextBounds.X
  944. end
  945. end
  946. Scroller2.CanvasSize = UDim2.new(0,(maxTextX+(#path*20))+10,0,(Numb*21)+4)
  947. game:GetService("TweenService"):Create(temp.PathButton,TweenInfo.new(0.1),{TextColor3=Color3.fromRGB(200, 200, 200);}):Play()
  948. wait(0.1)
  949. game:GetService("TweenService"):Create(temp.PathButton,TweenInfo.new(0.1),{TextColor3=Color3.fromRGB(255, 255, 255);}):Play()
  950. end)
  951. end
  952. local function LoadUI()
  953. Scroller:ClearAllChildren()
  954. local pos = 0
  955. for i,v in pairs(Remotes) do
  956. if v then
  957. MakeItem(v, pos)
  958. pos = pos+40
  959. end
  960. end
  961. Scroller.CanvasSize = UDim2.new(0,0,0,pos)
  962. end
  963. local function GetRemotes()
  964. local function Recursion(obj)
  965. for i,v in pairs(obj:GetChildren()) do
  966. local succ,err = pcall(function()
  967. if not RemoteIgnores[v.Name] then
  968. if v:IsA("RemoteEvent") or v:IsA("RemoteFunction") or v:IsA("BindableEvent") or v:IsA("BindableFunction") then
  969. Remotes[v] = {v}
  970. end
  971. end
  972. end)
  973. local suc,er = pcall(function()
  974. v:GetChildren()
  975. end)
  976. if suc and #v:GetChildren() > 0 then
  977. Recursion(v)
  978. end
  979. end
  980. end
  981. Recursion(game)
  982. end
  983. GetRemotes()
  984. LoadUI()
  985. for i,v in pairs(game:GetChildren()) do
  986. local suc, er = pcall(function()
  987. v:GetChildren()
  988. end)
  989. if suc then
  990. v.DescendantAdded:Connect(function(obj)
  991. wait(1)
  992. if not RemoteIgnores[obj.Name] then
  993. if obj:IsA("RemoteEvent") or obj:IsA("RemoteFunction") or obj:IsA("BindableEvent") or obj:IsA("BindableFunction") then
  994. Remotes[obj] = {obj}
  995. MakeItem(Remotes[obj],((#Scroller:GetChildren())*40))
  996. Scroller.CanvasSize = UDim2.new(0,0,0,Scroller.CanvasSize.Y.Offset+40)
  997. end
  998. end
  999. end)
  1000. v.DescendantRemoving:Connect(function(obj)
  1001. if not RemoteIgnores[obj.Name] then
  1002. if obj:IsA("RemoteEvent") or obj:IsA("RemoteFunction") or obj:IsA("BindableEvent") or obj:IsA("BindableFunction") then
  1003. if Remotes[obj] then
  1004. for ii = tonumber(Remotes[obj][2].Name),#Scroller:GetChildren() do
  1005. if ii ~= tonumber(Remotes[obj][2].Name) then
  1006. local it = Scroller:FindFirstChild(ii)
  1007. if it then
  1008. it.Position = UDim2.new(0,0,0,it.Position.Y.Offset-40)
  1009. it.Name = tonumber(it.Name) - 1
  1010. end
  1011. end
  1012. end
  1013. Scroller.CanvasSize = UDim2.new(0,0,0,Scroller.CanvasSize.Y.Offset-40)
  1014. Remotes[obj][2]:Destroy()
  1015. Remotes[obj] = nil
  1016. end
  1017. end
  1018. end
  1019. end)
  1020. end
  1021. end
  1022. end
  1023. StartSpy()
  1024.  
  1025. --== End ==--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement