SHARE
TWEET

mrspy

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