Advertisement
Upscalefanatic3

Mr. RemoteSpy Read Info OnTop

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