JannickP8

Remote Spy

Nov 21st, 2021 (edited)
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 53.60 KB | None | 0 0
  1. -- FrontEnd // UI
  2.  
  3. -- Objects
  4.  
  5. local RemoteSpy = Instance.new("ScreenGui")
  6. local BG = Instance.new("Frame")
  7. local Ribbon = Instance.new("ImageLabel")
  8. local Hide = Instance.new("TextButton")
  9. local Title = Instance.new("TextLabel")
  10. local Remotes = Instance.new("ScrollingFrame")
  11. local Source = Instance.new("ScrollingFrame")
  12. local ButtonsFrame = Instance.new("ScrollingFrame")
  13. local ToClipboard = Instance.new("TextButton")
  14. local Decompile = Instance.new("TextButton")
  15. local GetReturn = Instance.new("TextButton")
  16. local ClearList = Instance.new("TextButton")
  17. local CryptStrings = Instance.new("TextButton")
  18. local EnableSpy = Instance.new("TextButton")
  19. local Last = Instance.new("TextLabel")
  20. local Total = Instance.new("TextLabel")
  21. local Settings = Instance.new("TextButton")
  22. local SetRemotes = Instance.new("ScrollingFrame")
  23. local Storage = Instance.new("Frame")
  24. local RBTN = Instance.new("TextButton")
  25. local Icon = Instance.new("ImageLabel")
  26. local RemoteName = Instance.new("TextLabel")
  27. local ID = Instance.new("TextLabel")
  28. local SBTN = Instance.new("TextButton")
  29. local Icon_2 = Instance.new("ImageLabel")
  30. local RemoteName_2 = Instance.new("TextLabel")
  31. local ScriptLine = Instance.new("Frame")
  32. local Line = Instance.new("TextLabel")
  33. local SourceText = Instance.new("TextLabel")
  34. local Tokens = Instance.new("TextLabel")
  35. local Strings = Instance.new("TextLabel")
  36. local Comments = Instance.new("TextLabel")
  37. local Keywords = Instance.new("TextLabel")
  38. local Globals = Instance.new("TextLabel")
  39. local RemoteHighlight = Instance.new("TextLabel")
  40. local Enabled = Instance.new("TextLabel")
  41. local FullScreen = Instance.new("TextButton")
  42. local SetRemotesTab = Instance.new("Frame")
  43. local FilterF = Instance.new("TextButton")
  44. local FilterE = Instance.new("TextButton")
  45. local Search = Instance.new("TextBox")
  46. local lvl6Frame = Instance.new("Frame")
  47. local lvl6Output = Instance.new("ScrollingFrame")
  48. local lvl6Source = Instance.new("ScrollingFrame")
  49. local Source_ = Instance.new("TextBox")
  50. local Comments_ = Instance.new("TextLabel")
  51. local Globals_ = Instance.new("TextLabel")
  52. local Keywords_ = Instance.new("TextLabel")
  53. local RemoteHighlight_ = Instance.new("TextLabel")
  54. local SourceText_ = Instance.new("TextLabel")
  55. local Strings_ = Instance.new("TextLabel")
  56. local Tokens_ = Instance.new("TextLabel")
  57. local ClearScript = Instance.new("TextButton")
  58. local ExecuteScript = Instance.new("TextButton")
  59. local Resize = Instance.new("TextButton")
  60. local lvl6 = Instance.new("TextButton")
  61. local ClearOutput = Instance.new("TextButton")
  62. local Label = Instance.new("TextLabel")
  63. local Lines = Instance.new("TextLabel")
  64. local Mute = Instance.new("TextButton")
  65. local Icon_3 = Instance.new("ImageLabel")
  66. local remotes_fired = 0
  67. local LoadSource = Instance.new("TextButton")
  68. local Refresh = Instance.new("TextButton")
  69. local encrypt_string = false
  70. local spy_enabled = true
  71.  
  72. local lua_keywords = {"and", "break", "do", "else", "elseif", "end", "false", "for", "function", "goto", "if", "in", "local", "nil", "not", "or", "repeat", "return", "then", "true", "until", "while"}
  73. local global_env = {"getrawmetatable", "game", "workspace", "script", "math", "string", "table", "print", "wait", "BrickColor", "Color3", "next", "pairs", "ipairs", "select", "unpack", "Instance", "Vector2", "Vector3", "CFrame", "Ray", "UDim2", "Enum", "assert", "error", "warn", "tick", "loadstring", "_G", "shared", "getfenv", "setfenv", "newproxy", "setmetatable", "getmetatable", "os", "debug", "pcall", "ypcall", "xpcall", "rawequal", "rawset", "rawget", "tonumber", "tostring", "type", "typeof", "_VERSION", "coroutine", "delay", "require", "spawn", "LoadLibrary", "settings", "stats", "time", "UserSettings", "version", "Axes", "ColorSequence", "Faces", "ColorSequenceKeypoint", "NumberRange", "NumberSequence", "NumberSequenceKeypoint", "gcinfo", "elapsedTime", "collectgarbage", "PhysicalProperties", "Rect", "Region3", "Region3int16", "UDim", "Vector2int16", "Vector3int16"}
  74.  
  75. -- Sounds
  76.  
  77. local logSound = Instance.new("Sound")
  78. local topPress = Instance.new("Sound")
  79. local errorSound = Instance.new("Sound")
  80. local openSound = Instance.new("Sound")
  81. local disableSound = Instance.new("Sound")
  82.  
  83. local sounds = {logSound, topPress, errorSound, openSound, disableSound}
  84.  
  85. -- Properties
  86.  
  87. RemoteSpy.Name = "RemoteSpy"
  88. RemoteSpy.Parent = game.CoreGui
  89.  
  90. logSound.SoundId = "rbxassetid://917942453"
  91.  
  92. errorSound.SoundId = "rbxassetid://582374365"
  93.  
  94. topPress.SoundId = "rbxassetid://558993260"
  95.  
  96. openSound.SoundId = "rbxassetid://472556995"
  97.  
  98. disableSound.SoundId = "rbxassetid://550209561"
  99.  
  100. BG.Name = "BG"
  101. BG.Parent = RemoteSpy
  102. BG.Active = true
  103. BG.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.141176)
  104. BG.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  105. BG.Draggable = true
  106. BG.Position = UDim2.new(0.5, -700, 0.5, -400)
  107. BG.Size = UDim2.new(1, -300, 1, -200)
  108. BG.ClipsDescendants = true
  109.  
  110. Ribbon.Name = "Ribbon"
  111. Ribbon.Parent = BG
  112. Ribbon.BackgroundColor3 = Color3.new(0.760784, 0.0117647, 0.317647)
  113. Ribbon.BorderSizePixel = 0
  114. Ribbon.Size = UDim2.new(1, 0, 0, 20)
  115. Ribbon.ZIndex = 2
  116.  
  117. Hide.Name = "Hide"
  118. Hide.Parent = Ribbon
  119. Hide.BackgroundColor3 = Color3.new(1, 0, 0)
  120. Hide.BorderSizePixel = 0
  121. Hide.Position = UDim2.new(1, -40, 0, 0)
  122. Hide.Size = UDim2.new(0, 40, 0, 20)
  123. Hide.ZIndex = 3
  124. Hide.Font = Enum.Font.SourceSansBold
  125. Hide.FontSize = Enum.FontSize.Size14
  126. Hide.Text = "_"
  127. Hide.TextColor3 = Color3.new(1, 1, 1)
  128. Hide.TextSize = 14
  129.  
  130. Title.Name = "Title"
  131. Title.Parent = Ribbon
  132. Title.BackgroundColor3 = Color3.new(1, 0.0117647, 0.423529)
  133. Title.BorderSizePixel = 0
  134. Title.Position = UDim2.new(0.5, -100, 0, 0)
  135. Title.Size = UDim2.new(0, 200, 0, 20)
  136. Title.ZIndex = 3
  137. Title.Font = Enum.Font.SourceSansBold
  138. Title.FontSize = Enum.FontSize.Size14
  139. Title.Text = "Remote2Script v2 R3.3"
  140. Title.TextColor3 = Color3.new(1, 1, 1)
  141. Title.TextSize = 14
  142.  
  143. Remotes.Name = "Remotes"
  144. Remotes.Parent = BG
  145. Remotes.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  146. Remotes.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  147. Remotes.Position = UDim2.new(0, 10, 0, 80)
  148. Remotes.CanvasSize = UDim2.new(0, 0, 40, 0)
  149. Remotes.Size = UDim2.new(0, 250, 1, -90)
  150. Remotes.ZIndex = 2
  151. Remotes.BottomImage = "rbxassetid://148970562"
  152. Remotes.MidImage = "rbxassetid://148970562"
  153. Remotes.ScrollBarThickness = 5
  154. Remotes.TopImage = "rbxassetid://148970562"
  155.  
  156. Source.Name = "Source"
  157. Source.Parent = BG
  158. Source.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  159. Source.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  160. Source.Position = UDim2.new(0, 270, 0, 80)
  161. Source.Size = UDim2.new(1, -280, 1, -90)
  162. Source.ZIndex = 2
  163. Source.BottomImage = "rbxassetid://148970562"
  164. Source.CanvasSize = UDim2.new(3, 0, 160, 0)
  165. Source.MidImage = "rbxassetid://148970562"
  166. Source.ScrollBarThickness = 5
  167. Source.TopImage = "rbxassetid://148970562"
  168.  
  169. ButtonsFrame.Name = "ButtonsFrame"
  170. ButtonsFrame.Parent = BG
  171. ButtonsFrame.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  172. ButtonsFrame.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  173. ButtonsFrame.Position = UDim2.new(0, 10, 0, 30)
  174. ButtonsFrame.Size = UDim2.new(1, -20, 0, 40)
  175. ButtonsFrame.ZIndex = 2
  176. ButtonsFrame.ClipsDescendants = true
  177. ButtonsFrame.CanvasSize = UDim2.new(2, 0, 0, 0)
  178. ButtonsFrame.ScrollBarThickness = 5
  179. ButtonsFrame.BottomImage = "rbxassetid://148970562"
  180. ButtonsFrame.TopImage = "rbxassetid://148970562"
  181. ButtonsFrame.MidImage = "rbxassetid://148970562"
  182.  
  183. ToClipboard.Name = "ToClipboard"
  184. ToClipboard.Parent = ButtonsFrame
  185. ToClipboard.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  186. ToClipboard.BorderColor3 = Color3.new(0.117647, 0.392157, 0.117647)
  187. ToClipboard.Position = UDim2.new(0, 10, 0.5, -10)
  188. ToClipboard.Size = UDim2.new(0, 100, 0, 20)
  189. ToClipboard.ZIndex = 3
  190. ToClipboard.Font = Enum.Font.SourceSansBold
  191. ToClipboard.FontSize = Enum.FontSize.Size14
  192. ToClipboard.Text = "COPY"
  193. ToClipboard.TextColor3 = Color3.new(0.235294, 0.784314, 0.235294)
  194. ToClipboard.TextSize = 14
  195.  
  196. Decompile.Name = "Decompile"
  197. Decompile.Parent = ButtonsFrame
  198. Decompile.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  199. Decompile.BorderColor3 = Color3.new(0.384314, 0.384314, 0.384314)
  200. Decompile.Position = UDim2.new(0, 120, 0.5, -10)
  201. Decompile.Size = UDim2.new(0, 100, 0, 20)
  202. Decompile.ZIndex = 3
  203. Decompile.Font = Enum.Font.SourceSansBold
  204. Decompile.FontSize = Enum.FontSize.Size14
  205. Decompile.Text = "DECOMPILE"
  206. Decompile.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  207. Decompile.TextSize = 14
  208.  
  209. GetReturn.Name = "GetReturn"
  210. GetReturn.Parent = ButtonsFrame
  211. GetReturn.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  212. GetReturn.BorderColor3 = Color3.new(0.384314, 0.384314, 0.384314)
  213. GetReturn.Position = UDim2.new(0, 230, 0.5, -10)
  214. GetReturn.Size = UDim2.new(0, 100, 0, 20)
  215. GetReturn.ZIndex = 3
  216. GetReturn.Font = Enum.Font.SourceSansBold
  217. GetReturn.FontSize = Enum.FontSize.Size14
  218. GetReturn.Text = "GET RETURN"
  219. GetReturn.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  220. GetReturn.TextSize = 14
  221.  
  222. ClearList.Name = "ClearList"
  223. ClearList.Parent = ButtonsFrame
  224. ClearList.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  225. ClearList.BorderColor3 = Color3.new(0.384314, 0.384314, 0.384314)
  226. ClearList.Position = UDim2.new(0, 340, 0.5, -10)
  227. ClearList.Size = UDim2.new(0, 100, 0, 20)
  228. ClearList.ZIndex = 3
  229. ClearList.Font = Enum.Font.SourceSansBold
  230. ClearList.FontSize = Enum.FontSize.Size14
  231. ClearList.Text = "CLEAR LOGS"
  232. ClearList.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  233. ClearList.TextSize = 14
  234.  
  235. CryptStrings.Name = "CryptStrings"
  236. CryptStrings.Parent = ButtonsFrame
  237. CryptStrings.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  238. CryptStrings.BorderColor3 = Color3.new(0.392157, 0.117647, 0.117647)
  239. CryptStrings.Position = UDim2.new(0, 450, 0.5, -10)
  240. CryptStrings.Size = UDim2.new(0, 100, 0, 20)
  241. CryptStrings.ZIndex = 3
  242. CryptStrings.Font = Enum.Font.SourceSansBold
  243. CryptStrings.FontSize = Enum.FontSize.Size14
  244. CryptStrings.Text = "CRYPT STRINGS"
  245. CryptStrings.TextColor3 = Color3.new(0.784314, 0.235294, 0.235294)
  246. CryptStrings.TextSize = 14
  247.  
  248. EnableSpy.Name = "EnableSpy"
  249. EnableSpy.Parent = ButtonsFrame
  250. EnableSpy.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  251. EnableSpy.BorderColor3 = Color3.fromRGB(30, 100, 30)
  252. EnableSpy.Position = UDim2.new(0, 560, 0.5, -10)
  253. EnableSpy.Size = UDim2.new(0, 100, 0, 20)
  254. EnableSpy.ZIndex = 3
  255. EnableSpy.Font = Enum.Font.SourceSansBold
  256. EnableSpy.FontSize = Enum.FontSize.Size14
  257. EnableSpy.Text = "REMOTESPY"
  258. EnableSpy.TextColor3 = Color3.fromRGB(60, 200, 60)
  259. EnableSpy.TextSize = 14
  260.  
  261. Last.Name = "Last"
  262. Last.Parent = ButtonsFrame
  263. Last.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  264. Last.BorderColor3 = Color3.new(0.384314, 0.384314, 0.384314)
  265. Last.Position = UDim2.new(0, 670, 0.5, -10)
  266. Last.Size = UDim2.new(0, 200, 0, 20)
  267. Last.ZIndex = 3
  268. Last.Font = Enum.Font.SourceSansBold
  269. Last.FontSize = Enum.FontSize.Size14
  270. Last.Text = ""
  271. Last.TextColor3 = Color3.new(1, 1, 1)
  272. Last.TextSize = 14
  273. Last.TextWrapped = true
  274.  
  275. Total.Name = "Total"
  276. Total.Parent = ButtonsFrame
  277. Total.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  278. Total.BorderColor3 = Color3.new(0.384314, 0.384314, 0.384314)
  279. Total.Position = UDim2.new(0, 880, 0.5, -10)
  280. Total.Size = UDim2.new(0, 50, 0, 20)
  281. Total.ZIndex = 3
  282. Total.Font = Enum.Font.SourceSansBold
  283. Total.FontSize = Enum.FontSize.Size14
  284. Total.Text = "0"
  285. Total.TextColor3 = Color3.new(1, 1, 1)
  286. Total.TextSize = 14
  287. Total.TextWrapped = true
  288.  
  289. Settings.Name = "Settings"
  290. Settings.Parent = ButtonsFrame
  291. Settings.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  292. Settings.BorderColor3 = Color3.new(0.117647, 0.392157, 0.392157)
  293. Settings.Position = UDim2.new(1, -110, 0.5, -10)
  294. Settings.Size = UDim2.new(0, 100, 0, 20)
  295. Settings.ZIndex = 3
  296. Settings.Font = Enum.Font.SourceSansBold
  297. Settings.FontSize = Enum.FontSize.Size14
  298. Settings.Text = "REMOTES"
  299. Settings.TextColor3 = Color3.new(0.235294, 0.784314, 0.784314)
  300. Settings.TextSize = 14
  301.  
  302. SetRemotes.Name = "SetRemotes"
  303. SetRemotes.Parent = BG
  304. SetRemotes.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  305. SetRemotes.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  306. SetRemotes.Position = UDim2.new(0, 270, 0, 80)
  307. SetRemotes.Size = UDim2.new(1, -280, 1, -140)
  308. SetRemotes.Visible = false
  309. SetRemotes.ZIndex = 2
  310. SetRemotes.BottomImage = "rbxassetid://148970562"
  311. SetRemotes.CanvasSize = UDim2.new(0, 0, 25, 0)
  312. SetRemotes.MidImage = "rbxassetid://148970562"
  313. SetRemotes.ScrollBarThickness = 5
  314. SetRemotes.TopImage = "rbxassetid://148970562"
  315.  
  316. Storage.Name = "Storage"
  317. Storage.Parent = RemoteSpy
  318. Storage.BackgroundColor3 = Color3.new(1, 1, 1)
  319. Storage.Size = UDim2.new(0, 100, 0, 100)
  320. Storage.Visible = false
  321.  
  322. RBTN.Name = "RBTN"
  323. RBTN.Parent = Storage
  324. RBTN.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  325. RBTN.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  326. RBTN.Position = UDim2.new(0, 10, 0, 10)
  327. RBTN.Size = UDim2.new(1, -20, 0, 20)
  328. RBTN.ZIndex = 3
  329. RBTN.Font = Enum.Font.SourceSansBold
  330. RBTN.FontSize = Enum.FontSize.Size14
  331. RBTN.Text = ""
  332. RBTN.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  333. RBTN.TextSize = 14
  334. RBTN.TextXAlignment = Enum.TextXAlignment.Left
  335.  
  336. Icon.Name = "Icon"
  337. Icon.Parent = RBTN
  338. Icon.BackgroundColor3 = Color3.new(1, 1, 1)
  339. Icon.BackgroundTransparency = 1
  340. Icon.Size = UDim2.new(0, 20, 0, 20)
  341. Icon.ZIndex = 4
  342. Icon.Image = "rbxassetid://413369506"
  343.  
  344. print(Icon:GetFullName())
  345.  
  346. RemoteName.Name = "RemoteName"
  347. RemoteName.Parent = RBTN
  348. RemoteName.BackgroundColor3 = Color3.new(0.713726, 0.00392157, 0.298039)
  349. RemoteName.BorderSizePixel = 0
  350. RemoteName.Position = UDim2.new(0, 30, 0, 0)
  351. RemoteName.Size = UDim2.new(0, 140, 0, 20)
  352. RemoteName.ZIndex = 4
  353. RemoteName.Font = Enum.Font.SourceSansBold
  354. RemoteName.FontSize = Enum.FontSize.Size14
  355. RemoteName.Text = "10"
  356. RemoteName.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  357. RemoteName.TextSize = 14
  358.  
  359. ID.Name = "ID"
  360. ID.Parent = RBTN
  361. ID.BackgroundColor3 = Color3.new(0.458824, 0.00392157, 0.192157)
  362. ID.BorderSizePixel = 0
  363. ID.Position = UDim2.new(1, -50, 0, 0)
  364. ID.Size = UDim2.new(0, 50, 0, 20)
  365. ID.ZIndex = 4
  366. ID.Font = Enum.Font.SourceSansBold
  367. ID.FontSize = Enum.FontSize.Size14
  368. ID.Text = "10"
  369. ID.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  370. ID.TextSize = 14
  371.  
  372. SBTN.Name = "SBTN"
  373. SBTN.Parent = Storage
  374. SBTN.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  375. SBTN.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  376. SBTN.Position = UDim2.new(0, 10, 0, 10)
  377. SBTN.Size = UDim2.new(1, -20, 0, 20)
  378. SBTN.ZIndex = 3
  379. SBTN.Font = Enum.Font.SourceSansBold
  380. SBTN.FontSize = Enum.FontSize.Size14
  381. SBTN.Text = ""
  382. SBTN.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  383. SBTN.TextSize = 11
  384. SBTN.TextXAlignment = Enum.TextXAlignment.Left
  385.  
  386. Icon_2.Name = "Icon"
  387. Icon_2.Parent = SBTN
  388. Icon_2.BackgroundColor3 = Color3.new(1, 1, 1)
  389. Icon_2.BackgroundTransparency = 1
  390. Icon_2.Size = UDim2.new(0, 20, 0, 20)
  391. Icon_2.ZIndex = 4
  392. Icon_2.Image = "rbxassetid://413369506"
  393.  
  394. print(Icon_2:GetFullName())
  395.  
  396. RemoteName_2.Name = "RemoteName"
  397. RemoteName_2.Parent = SBTN
  398. RemoteName_2.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  399. RemoteName_2.BorderSizePixel = 1
  400. RemoteName_2.BorderColor3 = Color3.fromRGB(62, 62, 62)
  401. RemoteName_2.Position = UDim2.new(0, 30, 0, 0)
  402. RemoteName_2.Size = UDim2.new(0, 140, 0, 20)
  403. RemoteName_2.ZIndex = 4
  404. RemoteName_2.Font = Enum.Font.SourceSansBold
  405. RemoteName_2.FontSize = Enum.FontSize.Size14
  406. RemoteName_2.Text = "SayMessageRequest"
  407. RemoteName_2.TextColor3 = Color3.fromRGB(200, 200, 200)
  408. RemoteName_2.TextSize = 11
  409.  
  410.  
  411. ScriptLine.Name = "ScriptLine"
  412. ScriptLine.Parent = Storage
  413. ScriptLine.BackgroundColor3 = Color3.new(1, 1, 1)
  414. ScriptLine.BackgroundTransparency = 1
  415. ScriptLine.Size = UDim2.new(1, 0, 0, 17)
  416. ScriptLine.ZIndex = 2
  417.  
  418. Line.Name = "Line"
  419. Line.Parent = ScriptLine
  420. Line.BackgroundColor3 = Color3.new(0.329412, 0, 0)
  421. Line.BackgroundTransparency = 1
  422. Line.BorderSizePixel = 0
  423. Line.Size = UDim2.new(0, 40, 1, 0)
  424. Line.ZIndex = 3
  425. Line.Font = Enum.Font.SourceSansBold
  426. Line.FontSize = Enum.FontSize.Size18
  427. Line.Text = ""
  428. Line.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  429. Line.TextSize = 17
  430.  
  431. SourceText.Name = "SourceText"
  432. SourceText.Parent = ScriptLine
  433. SourceText.BackgroundColor3 = Color3.new(1, 1, 1)
  434. SourceText.BackgroundTransparency = 1
  435. SourceText.Position = UDim2.new(0, 40, 0, 0)
  436. SourceText.Size = UDim2.new(1, -40, 1, 0)
  437. SourceText.ZIndex = 3
  438. SourceText.Font = Enum.Font.Code
  439. SourceText.FontSize = Enum.FontSize.Size18
  440. SourceText.Text = ""
  441. SourceText.TextColor3 = Color3.new(1, 1, 1)
  442. SourceText.TextSize = 17
  443. SourceText.TextXAlignment = Enum.TextXAlignment.Left
  444.  
  445. Tokens.Name = "Tokens"
  446. Tokens.Parent = ScriptLine
  447. Tokens.BackgroundColor3 = Color3.new(1, 1, 1)
  448. Tokens.BackgroundTransparency = 1
  449. Tokens.Position = UDim2.new(0, 40, 0, 0)
  450. Tokens.Size = UDim2.new(1, -40, 1, 0)
  451. Tokens.ZIndex = 3
  452. Tokens.Font = Enum.Font.Code
  453. Tokens.FontSize = Enum.FontSize.Size18
  454. Tokens.Text = ""
  455. Tokens.TextColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  456. Tokens.TextSize = 17
  457. Tokens.TextXAlignment = Enum.TextXAlignment.Left
  458.  
  459. Strings.Name = "Strings"
  460. Strings.Parent = ScriptLine
  461. Strings.BackgroundColor3 = Color3.new(1, 1, 1)
  462. Strings.BackgroundTransparency = 1
  463. Strings.Position = UDim2.new(0, 40, 0, 0)
  464. Strings.Size = UDim2.new(1, -40, 1, 0)
  465. Strings.ZIndex = 5
  466. Strings.Font = Enum.Font.Code
  467. Strings.FontSize = Enum.FontSize.Size18
  468. Strings.Text = ""
  469. Strings.TextColor3 = Color3.new(1, 0.615686, 0)
  470. Strings.TextSize = 17
  471. Strings.TextXAlignment = Enum.TextXAlignment.Left
  472.  
  473. Comments.Name = "Comments"
  474. Comments.Parent = ScriptLine
  475. Comments.BackgroundColor3 = Color3.new(1, 1, 1)
  476. Comments.BackgroundTransparency = 1
  477. Comments.Position = UDim2.new(0, 40, 0, 0)
  478. Comments.Size = UDim2.new(1, -40, 1, 0)
  479. Comments.ZIndex = 5
  480. Comments.Font = Enum.Font.Code
  481. Comments.FontSize = Enum.FontSize.Size18
  482. Comments.Text = ""
  483. Comments.TextColor3 = Color3.fromRGB(60, 200, 60)
  484. Comments.TextSize = 17
  485. Comments.TextXAlignment = Enum.TextXAlignment.Left
  486.  
  487. RemoteHighlight.Name = "RemoteHighlight"
  488. RemoteHighlight.Parent = ScriptLine
  489. RemoteHighlight.BackgroundColor3 = Color3.new(1, 1, 1)
  490. RemoteHighlight.BackgroundTransparency = 1
  491. RemoteHighlight.Position = UDim2.new(0, 40, 0, 0)
  492. RemoteHighlight.Size = UDim2.new(1, -40, 1, 0)
  493. RemoteHighlight.ZIndex = 3
  494. RemoteHighlight.Font = Enum.Font.Code
  495. RemoteHighlight.FontSize = Enum.FontSize.Size18
  496. RemoteHighlight.Text = ""
  497. RemoteHighlight.TextColor3 = Color3.fromRGB(0, 145, 255)
  498. RemoteHighlight.TextSize = 17
  499. RemoteHighlight.TextXAlignment = Enum.TextXAlignment.Left
  500.  
  501. Keywords.Name = "Keywords"
  502. Keywords.Parent = ScriptLine
  503. Keywords.BackgroundColor3 = Color3.new(1, 1, 1)
  504. Keywords.BackgroundTransparency = 1
  505. Keywords.Position = UDim2.new(0, 40, 0, 0)
  506. Keywords.Size = UDim2.new(1, -40, 1, 0)
  507. Keywords.ZIndex = 3
  508. Keywords.Font = Enum.Font.Code
  509. Keywords.FontSize = Enum.FontSize.Size18
  510. Keywords.Text = ""
  511. Keywords.TextColor3 = Color3.new(0.231373, 1, 0)
  512. Keywords.TextSize = 17
  513. Keywords.TextXAlignment = Enum.TextXAlignment.Left
  514.  
  515. Globals.Name = "Globals"
  516. Globals.Parent = ScriptLine
  517. Globals.BackgroundColor3 = Color3.new(1, 1, 1)
  518. Globals.BackgroundTransparency = 1
  519. Globals.Position = UDim2.new(0, 40, 0, 0)
  520. Globals.Size = UDim2.new(1, -40, 1, 0)
  521. Globals.ZIndex = 3
  522. Globals.Font = Enum.Font.Code
  523. Globals.FontSize = Enum.FontSize.Size18
  524. Globals.Text = ""
  525. Globals.TextColor3 = Color3.new(1, 0, 0)
  526. Globals.TextSize = 17
  527. Globals.TextXAlignment = Enum.TextXAlignment.Left
  528.  
  529. Enabled.Name = "Enabled"
  530. Enabled.Parent = SBTN
  531. Enabled.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  532. Enabled.BorderSizePixel = 1
  533. Enabled.BorderColor3 = Color3.fromRGB(30, 100, 30)
  534. Enabled.Position = UDim2.new(0, 210, 0, 0)
  535. Enabled.Size = UDim2.new(1, -210, 1, 0)
  536. Enabled.ZIndex = 4
  537. Enabled.Font = Enum.Font.SourceSansBold
  538. Enabled.FontSize = Enum.FontSize.Size14
  539. Enabled.Text = "Enabled"
  540. Enabled.TextColor3 = Color3.fromRGB(60, 200, 60)
  541. Enabled.TextSize = 14
  542.  
  543. FullScreen.Name = "FullScreen"
  544. FullScreen.Parent = Ribbon
  545. FullScreen.BackgroundColor3 = Color3.new(1, 0, 0)
  546. FullScreen.BorderSizePixel = 0
  547. FullScreen.Position = UDim2.new(1, -90, 0, 0)
  548. FullScreen.Size = UDim2.new(0, 40, 0, 20)
  549. FullScreen.ZIndex = 3
  550. FullScreen.Font = Enum.Font.SourceSansBold
  551. FullScreen.FontSize = Enum.FontSize.Size14
  552. FullScreen.Text = "[~]"
  553. FullScreen.TextColor3 = Color3.new(1, 1, 1)
  554. FullScreen.TextSize = 14
  555.  
  556. SetRemotesTab.Name = "SetRemotesTab"
  557. SetRemotesTab.Parent = BG
  558. SetRemotesTab.Visible = false
  559. SetRemotesTab.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  560. SetRemotesTab.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  561. SetRemotesTab.ClipsDescendants = true
  562. SetRemotesTab.Position = UDim2.new(0, 270, 1, -50)
  563. SetRemotesTab.Size = UDim2.new(1, -280, 0, 40)
  564. SetRemotesTab.ZIndex = 2
  565.  
  566. FilterF.Name = "FilterF"
  567. FilterF.Parent = SetRemotesTab
  568. FilterF.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  569. FilterF.BorderColor3 = Color3.new(0.392157, 0.117647, 0.117647)
  570. FilterF.Position = UDim2.new(0, 120, 0.5, -10)
  571. FilterF.Size = UDim2.new(0, 120, 0, 20)
  572. FilterF.ZIndex = 3
  573. FilterF.Font = Enum.Font.SourceSansBold
  574. FilterF.FontSize = Enum.FontSize.Size14
  575. FilterF.Text = "FILTER FUNCTIONS"
  576. FilterF.TextColor3 = Color3.new(0.784314, 0.235294, 0.235294)
  577. FilterF.TextSize = 14
  578.  
  579. FilterE.Name = "FilterE"
  580. FilterE.Parent = SetRemotesTab
  581. FilterE.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  582. FilterE.BorderColor3 = Color3.new(0.392157, 0.117647, 0.117647)
  583. FilterE.Position = UDim2.new(0, 10, 0.5, -10)
  584. FilterE.Size = UDim2.new(0, 100, 0, 20)
  585. FilterE.ZIndex = 3
  586. FilterE.Font = Enum.Font.SourceSansBold
  587. FilterE.FontSize = Enum.FontSize.Size14
  588. FilterE.Text = "FILTER EVENTS"
  589. FilterE.TextColor3 = Color3.new(0.784314, 0.235294, 0.235294)
  590. FilterE.TextSize = 14
  591.  
  592. Search.Name = "Search"
  593. Search.Parent = SetRemotesTab
  594. Search.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  595. Search.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  596. Search.Position = UDim2.new(0, 360, 0.5, -10)
  597. Search.Selectable = true
  598. Search.Size = UDim2.new(1, -370, 0, 20)
  599. Search.ZIndex = 3
  600. Search.Font = Enum.Font.SourceSansBold
  601. Search.FontSize = Enum.FontSize.Size14
  602. Search.Text = "[SEARCH]"
  603. Search.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  604. Search.TextSize = 14
  605.  
  606. lvl6Output.Name = "lvl6Output"
  607. lvl6Output.Parent = lvl6Frame
  608. lvl6Output.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  609. lvl6Output.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  610. lvl6Output.Position = UDim2.new(0, 0, 1, -110)
  611. lvl6Output.Size = UDim2.new(1, 0, 0, 110)
  612. lvl6Output.ZIndex = 3
  613. lvl6Output.CanvasSize = UDim2.new(3, 0, 15, 0)
  614. lvl6Output.BottomImage = "rbxassetid://148970562"
  615. lvl6Output.MidImage = "rbxassetid://148970562"
  616. lvl6Output.ScrollBarThickness = 5
  617. lvl6Output.TopImage = "rbxassetid://148970562"
  618.  
  619. lvl6Source.Name = "lvl6Source"
  620. lvl6Source.Parent = lvl6Frame
  621. lvl6Source.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  622. lvl6Source.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  623. lvl6Source.Position = UDim2.new(0, 0, 0, 30)
  624. lvl6Source.Size = UDim2.new(1, 0, 1, -160)
  625. lvl6Source.ZIndex = 3
  626. lvl6Source.BottomImage = "rbxassetid://148970562"
  627. lvl6Source.CanvasSize = UDim2.new(0, 0, 20, 0)
  628. lvl6Source.MidImage = "rbxassetid://148970562"
  629. lvl6Source.ScrollBarThickness = 5
  630. lvl6Source.TopImage = "rbxassetid://148970562"
  631.  
  632. Source_.Name = "Source_"
  633. Source_.Parent = lvl6Source
  634. Source_.BackgroundColor3 = Color3.new(1, 1, 1)
  635. Source_.BackgroundTransparency = 1
  636. Source_.Size = UDim2.new(1, 0, 1, 0)
  637. Source_.Position = UDim2.new(0, 30, 0, 0)
  638. Source_.ZIndex = 4
  639. Source_.ClearTextOnFocus = false
  640. Source_.MultiLine = true
  641. Source_.Font = Enum.Font.Code
  642. Source_.FontSize = Enum.FontSize.Size18
  643. Source_.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  644. Source_.TextSize = 17
  645. Source_.Text = "print(\"Welcome to R2S script editor!\")"
  646. Source_.TextXAlignment = Enum.TextXAlignment.Left
  647. Source_.TextYAlignment = Enum.TextYAlignment.Top
  648.  
  649. Comments_.Name = "Comments_"
  650. Comments_.Parent = Source_
  651. Comments_.BackgroundColor3 = Color3.new(1, 1, 1)
  652. Comments_.BackgroundTransparency = 1
  653. Comments_.Size = UDim2.new(1, 0, 1, 0)
  654. Comments_.ZIndex = 5
  655. Comments_.Font = Enum.Font.Code
  656. Comments_.FontSize = Enum.FontSize.Size18
  657. Comments_.Text = ""
  658. Comments_.TextColor3 = Color3.new(0.235294, 0.784314, 0.235294)
  659. Comments_.TextSize = 17
  660. Comments_.TextXAlignment = Enum.TextXAlignment.Left
  661. Comments_.TextYAlignment = Enum.TextYAlignment.Top
  662.  
  663. Globals_.Name = "Globals_"
  664. Globals_.Parent = Source_
  665. Globals_.BackgroundColor3 = Color3.new(1, 1, 1)
  666. Globals_.BackgroundTransparency = 1
  667. Globals_.Size = UDim2.new(1, 0, 1, 0)
  668. Globals_.ZIndex = 5
  669. Globals_.Font = Enum.Font.Code
  670. Globals_.FontSize = Enum.FontSize.Size18
  671. Globals_.Text = ""
  672. Globals_.TextColor3 = Color3.new(1, 0, 0)
  673. Globals_.TextSize = 17
  674. Globals_.TextXAlignment = Enum.TextXAlignment.Left
  675. Globals_.TextYAlignment = Enum.TextYAlignment.Top
  676.  
  677. Keywords_.Name = "Keywords_"
  678. Keywords_.Parent = Source_
  679. Keywords_.BackgroundColor3 = Color3.new(1, 1, 1)
  680. Keywords_.BackgroundTransparency = 1
  681. Keywords_.Size = UDim2.new(1, 0, 1, 0)
  682. Keywords_.ZIndex = 5
  683. Keywords_.Font = Enum.Font.Code
  684. Keywords_.FontSize = Enum.FontSize.Size18
  685. Keywords_.Text = ""
  686. Keywords_.TextColor3 = Color3.new(0.231373, 1, 0)
  687. Keywords_.TextSize = 17
  688. Keywords_.TextXAlignment = Enum.TextXAlignment.Left
  689. Keywords_.TextYAlignment = Enum.TextYAlignment.Top
  690.  
  691. RemoteHighlight_.Name = "RemoteHighlight_"
  692. RemoteHighlight_.Parent = Source_
  693. RemoteHighlight_.BackgroundColor3 = Color3.new(1, 1, 1)
  694. RemoteHighlight_.BackgroundTransparency = 1
  695. RemoteHighlight_.Size = UDim2.new(1, 0, 1, 0)
  696. RemoteHighlight_.ZIndex = 5
  697. RemoteHighlight_.Font = Enum.Font.Code
  698. RemoteHighlight_.FontSize = Enum.FontSize.Size18
  699. RemoteHighlight_.Text = ""
  700. RemoteHighlight_.TextColor3 = Color3.new(0, 0.568627, 1)
  701. RemoteHighlight_.TextSize = 17
  702. RemoteHighlight_.TextXAlignment = Enum.TextXAlignment.Left
  703. RemoteHighlight_.TextYAlignment = Enum.TextYAlignment.Top
  704.  
  705. Strings_.Name = "Strings_"
  706. Strings_.Parent = Source_
  707. Strings_.BackgroundColor3 = Color3.new(1, 1, 1)
  708. Strings_.BackgroundTransparency = 1
  709. Strings_.Size = UDim2.new(1, 0, 1, 0)
  710. Strings_.ZIndex = 5
  711. Strings_.Font = Enum.Font.Code
  712. Strings_.FontSize = Enum.FontSize.Size18
  713. Strings_.Text = ""
  714. Strings_.TextColor3 = Color3.new(1, 0.615686, 0)
  715. Strings_.TextSize = 17
  716. Strings_.TextXAlignment = Enum.TextXAlignment.Left
  717. Strings_.TextYAlignment = Enum.TextYAlignment.Top
  718.  
  719. Tokens_.Name = "Tokens_"
  720. Tokens_.Parent = Source_
  721. Tokens_.BackgroundColor3 = Color3.new(1, 1, 1)
  722. Tokens_.BackgroundTransparency = 1
  723. Tokens_.Size = UDim2.new(1, 0, 1, 0)
  724. Tokens_.ZIndex = 5
  725. Tokens_.Font = Enum.Font.Code
  726. Tokens_.FontSize = Enum.FontSize.Size18
  727. Tokens_.Text = ""
  728. Tokens_.TextColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  729. Tokens_.TextSize = 17
  730. Tokens_.TextXAlignment = Enum.TextXAlignment.Left
  731. Tokens_.TextYAlignment = Enum.TextYAlignment.Top
  732.  
  733. ExecuteScript.Name = "ExecuteScript"
  734. ExecuteScript.Parent = lvl6Frame
  735. ExecuteScript.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  736. ExecuteScript.BorderColor3 = Color3.new(0.117647, 0.392157, 0.117647)
  737. ExecuteScript.Size = UDim2.new(1, -700, 0, 20)
  738. ExecuteScript.ZIndex = 3
  739. ExecuteScript.Font = Enum.Font.SourceSansBold
  740. ExecuteScript.FontSize = Enum.FontSize.Size14
  741. ExecuteScript.Text = "EXECUTE"
  742. ExecuteScript.TextColor3 = Color3.new(0.235294, 0.784314, 0.235294)
  743. ExecuteScript.TextSize = 14
  744.  
  745. lvl6.Name = "lvl6"
  746. lvl6.Parent = ButtonsFrame
  747. lvl6.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  748. lvl6.BorderColor3 = Color3.new(0.384314, 0.384314, 0.384314)
  749. lvl6.Position = UDim2.new(0, 940, 0.5, -10)
  750. lvl6.Size = UDim2.new(0, 100, 0, 20)
  751. lvl6.ZIndex = 3
  752. lvl6.Font = Enum.Font.SourceSansBold
  753. lvl6.FontSize = Enum.FontSize.Size14
  754. lvl6.Text = "LVL6 "
  755. lvl6.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  756. lvl6.TextSize = 14
  757.  
  758. lvl6Frame.Name = "lvl6Frame"
  759. lvl6Frame.Parent = BG
  760. lvl6Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  761. lvl6Frame.BackgroundTransparency = 1
  762. lvl6Frame.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  763. lvl6Frame.Position = UDim2.new(0, 270, 0, 80)
  764. lvl6Frame.Size = UDim2.new(1, -280, 1, -90)
  765. lvl6Frame.ZIndex = 2
  766. lvl6Frame.Visible = false
  767.  
  768. Resize.Name = "Resize"
  769. Resize.Parent = lvl6Frame
  770. Resize.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  771. Resize.BorderSizePixel = 0
  772. Resize.Draggable = true
  773. Resize.Position = UDim2.new(0.5, -50, 1, -130)
  774. Resize.Size = UDim2.new(0, 100, 0, 10)
  775. Resize.ZIndex = 3
  776. Resize.Font = Enum.Font.SourceSans
  777. Resize.FontSize = Enum.FontSize.Size14
  778. Resize.Text = ""
  779. Resize.TextSize = 14
  780.  
  781. ClearScript.Name = "ClearScript"
  782. ClearScript.Parent = lvl6Frame
  783. ClearScript.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  784. ClearScript.BorderColor3 = Color3.new(0.392157, 0.117647, 0.117647)
  785. ClearScript.Position = UDim2.new(1, -280, 0, 0)
  786. ClearScript.Size = UDim2.new(0, 280, 0, 20)
  787. ClearScript.ZIndex = 3
  788. ClearScript.Font = Enum.Font.SourceSansBold
  789. ClearScript.FontSize = Enum.FontSize.Size14
  790. ClearScript.Text = "CLEAR"
  791. ClearScript.TextColor3 = Color3.new(0.784314, 0.235294, 0.235294)
  792. ClearScript.TextSize = 14
  793.  
  794. ClearOutput.Name = "ClearOutput"
  795. ClearOutput.Parent = lvl6Frame
  796. ClearOutput.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  797. ClearOutput.BorderColor3 = Color3.new(0.392157, 0.117647, 0.117647)
  798. ClearOutput.Position = UDim2.new(1, -680, 0, 0)
  799. ClearOutput.Size = UDim2.new(0, 390, 0, 20)
  800. ClearOutput.ZIndex = 3
  801. ClearOutput.Font = Enum.Font.SourceSansBold
  802. ClearOutput.FontSize = Enum.FontSize.Size14
  803. ClearOutput.Text = "CLEAR OUTPUT"
  804. ClearOutput.TextColor3 = Color3.new(0.784314, 0.235294, 0.235294)
  805. ClearOutput.TextSize = 14
  806.  
  807. Label.Name = "Label"
  808. Label.Parent = Storage
  809. Label.BackgroundColor3 = Color3.new(1, 1, 1)
  810. Label.BackgroundTransparency = 1
  811. Label.Size = UDim2.new(1, 0, 0, 17)
  812. Label.ZIndex = 4
  813. Label.Font = Enum.Font.Code
  814. Label.FontSize = Enum.FontSize.Size14
  815. Label.TextColor3 = Color3.new(1, 1, 1)
  816. Label.TextSize = 14
  817. Label.TextXAlignment = Enum.TextXAlignment.Left
  818.  
  819. Lines.Name = "Lines"
  820. Lines.Parent = lvl6Source
  821. Lines.BackgroundColor3 = Color3.new(1, 1, 1)
  822. Lines.BackgroundTransparency = 1
  823. Lines.Size = UDim2.new(0, 30, 1, 0)
  824. Lines.ZIndex = 4
  825. Lines.Font = Enum.Font.Code
  826. Lines.FontSize = Enum.FontSize.Size18
  827. Lines.Text = "1"
  828. Lines.TextColor3 = Color3.new(1, 1, 1)
  829. Lines.TextSize = 17
  830. Lines.TextYAlignment = Enum.TextYAlignment.Top
  831.  
  832. LoadSource.Name = "LoadSource"
  833. LoadSource.Parent = ButtonsFrame
  834. LoadSource.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  835. LoadSource.BorderColor3 = Color3.new(0.384314, 0.384314, 0.384314)
  836. LoadSource.Position = UDim2.new(0, 1050, 0.5, -10)
  837. LoadSource.Size = UDim2.new(0, 100, 0, 20)
  838. LoadSource.ZIndex = 3
  839. LoadSource.Font = Enum.Font.SourceSansBold
  840. LoadSource.FontSize = Enum.FontSize.Size14
  841. LoadSource.Text = "LOAD"
  842. LoadSource.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  843. LoadSource.TextSize = 14
  844.  
  845. Mute.Name = "Mute"
  846. Mute.Parent = ButtonsFrame
  847. Mute.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  848. Mute.BorderColor3 = Color3.fromRGB(30, 100, 30)
  849. Mute.Position = UDim2.new(0, 1160, 0.5, -10)
  850. Mute.Size = UDim2.new(0, 100, 0, 20)
  851. Mute.ZIndex = 3
  852. Mute.Font = Enum.Font.SourceSansBold
  853. Mute.FontSize = Enum.FontSize.Size14
  854. Mute.Text = ""
  855. Mute.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  856. Mute.TextSize = 14
  857.  
  858. Icon_3 .Name = "Icon"
  859. Icon_3 .Parent = Mute
  860. Icon_3 .BackgroundColor3 = Color3.new(1, 1, 1)
  861. Icon_3 .BackgroundTransparency = 1
  862. Icon_3 .Position = UDim2.new(0.5, -10, 0, 0)
  863. Icon_3 .Size = UDim2.new(0, 20, 1, 0)
  864. Icon_3 .ZIndex = 4
  865. Icon_3 .Image = "rbxassetid://302250236"
  866. Icon_3 .ImageColor3 = Color3.fromRGB(60, 200, 60)
  867.  
  868. Refresh.Name = "Refresh"
  869. Refresh.Parent = SetRemotesTab
  870. Refresh.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  871. Refresh.BorderColor3 = Color3.new(0.380392, 0.380392, 0.380392)
  872. Refresh.Position = UDim2.new(0, 250, 0.5, -10)
  873. Refresh.Size = UDim2.new(0, 100, 0, 20)
  874. Refresh.ZIndex = 3
  875. Refresh.Font = Enum.Font.SourceSansBold
  876. Refresh.FontSize = Enum.FontSize.Size14
  877. Refresh.Text = "REFRESH"
  878. Refresh.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  879. Refresh.TextSize = 14
  880.  
  881. -- FrontEnd-Backend // UI Functions
  882.  
  883. local playSound = function(sound, int)
  884.     spawn(function()
  885.         local s = sound:Clone()
  886.         s.Parent = RemoteSpy
  887.         s:Play()
  888.         s.PlaybackSpeed = int
  889.     end)
  890. end
  891.  
  892. local HasSpecial = function(string)
  893.     return (string:match("%c") or string:match("%s") or string:match("%p")) ~= nil
  894. end
  895.  
  896. local GetPath = function(Instance)
  897.     local Obj = Instance
  898.     local string = {}
  899.     local temp = {}
  900.     local error = false
  901.    
  902.     while Obj ~= game do
  903.         if Obj == nil then
  904.             error = true
  905.             break
  906.         end
  907.         table.insert(temp, Obj.Parent == game and Obj.ClassName or tostring(Obj))
  908.         Obj = Obj.Parent
  909.     end
  910.    
  911.     table.insert(string, "game:GetService(\"" .. temp[#temp] .. "\")")
  912.    
  913.     for i = #temp - 1, 1, -1 do
  914.         table.insert(string, HasSpecial(temp[i]) and "[\"" .. temp[i] .. "\"]" or "." .. temp[i])
  915.     end
  916.  
  917.     return (error and "nil -- Path contained an invalid instance" or table.concat(string, ""))
  918. end
  919.  
  920. local GetType = function(Instance)
  921.     local Types =
  922.     {
  923.         EnumItem = function()
  924.             return "Enum." .. tostring(Instance.EnumType) .. "." .. tostring(Instance.Name)
  925.         end,
  926.         Instance = function()
  927.             return GetPath(Instance)
  928.         end,
  929.         CFrame = function()
  930.             return "CFrame.new(" .. tostring(Instance) .. ")"
  931.         end,
  932.         Vector3 = function()
  933.             return "Vector3.new(" .. tostring(Instance) .. ")"
  934.         end,
  935.         BrickColor = function()
  936.             return "BrickColor.new(\"" .. tostring(Instance) .. "\")"
  937.         end,
  938.         Color3 = function()
  939.             return "Color3.new(" .. tostring(Instance) .. ")"
  940.         end,
  941.         string = function()
  942.             local S = tostring(Instance)
  943.             return "\"" .. (encrypt_string and S:gsub(".", function(c) return "\\" .. c:byte() end) or S) .. "\""
  944.         end,
  945.         Ray = function()
  946.             return "Ray.new(Vector3.new(" .. tostring(Instance.Origin) .. "), Vector3.new(" .. tostring(Instance.Direction) .. "))"
  947.         end
  948.     }
  949.  
  950.     return Types[typeof(Instance)] ~= nil and Types[typeof(Instance)]() or tostring(Instance)
  951. end
  952.  
  953. local size_frame = function(frame, UDim)
  954.     frame:TweenSize(UDim, "Out", "Quint", 0.3)
  955. end
  956.  
  957. local pos_frame = function(frame, UDim)
  958.     frame:TweenPosition(UDim, "Out", "Quint", 0.3)
  959. end
  960.  
  961. local size_pos_frame = function(frame, UDim, UDim2)
  962.     frame:TweenSizeAndPosition(UDim, UDim2, "Out", "Quint", 0.3)
  963. end
  964.  
  965. local resize_onchange = function(type)
  966.     if type == "Position" then
  967.         Resize.Position = UDim2.new(0.5, -50, 1, Resize.Position.Y.Offset)
  968.         lvl6Source.Size = UDim2.new(1, 0, 1, Resize.Position.Y.Offset - 30)
  969.         lvl6Output.Position = UDim2.new(0, 0, 1, Resize.Position.Y.Offset + 20)
  970.         lvl6Output.Size = UDim2.new(1, 0, 0, 110 + (-130 - Resize.Position.Y.Offset))
  971.         if Resize.Position.Y.Offset <= -420 then
  972.             Resize.Position = UDim2.new(0.5, -50, 1, -420)
  973.         elseif Resize.Position.Y.Offset >= -40 then
  974.             Resize.Position = UDim2.new(0.5, -50, 1, -40)
  975.         end
  976.     end
  977. end
  978.  
  979. local clear_lvl6 = function()
  980.     playSound(topPress, 1)
  981.     Source_.Text = ""
  982. end
  983.  
  984. local onchange_lvl6source = function(type)
  985.     if type == "Text" then
  986.         Source_.Comments_.Text = Comments(Source_.Text)
  987.     end
  988. end
  989.  
  990. local hide = function()
  991.     playSound(openSound, 0.9)
  992.     size_frame(BG, UDim2.new(0, 300, 0, 20))
  993.     pos_frame(Title, UDim2.new(0, 0, 0, 0))
  994.     pos_frame(Remotes, UDim2.new(0, 10, 0, 100))
  995.     pos_frame(Source, UDim2.new(0, 270, 0, 100))
  996.     BG.Draggable = true
  997.     SetRemotes.Visible = false
  998.     SetRemotesTab.Visible = false
  999.     lvl6Frame.Visible = false
  1000.     Source.Visible = true
  1001.    
  1002.     return "[]"
  1003. end
  1004.  
  1005. local show = function()
  1006.     playSound(openSound, 1)
  1007.     size_frame(BG, UDim2.new(1, -300, 1, -200))
  1008.     pos_frame(BG, UDim2.new(0.1, 0, 0.1, 0))
  1009.     pos_frame(Title, UDim2.new(0.5, -100, 0, 0))
  1010.     pos_frame(Remotes, UDim2.new(0, 10, 0, 80))
  1011.     pos_frame(Source, UDim2.new(0, 270, 0, 80))
  1012.     BG.Draggable = false
  1013.    
  1014.     return "_"
  1015. end
  1016.  
  1017. local onclick_lvl6 = function()
  1018.     playSound(topPress, 1)
  1019.     lvl6Frame.Visible = true
  1020.     SetRemotes.Visible = false
  1021.     SetRemotesTab.Visible = false
  1022.     Source.Visible = false
  1023. end
  1024.  
  1025. local onclick_hide = function()
  1026.     Hide.Text = Hide.Text == "_" and hide() or show()
  1027. end
  1028.  
  1029. local onclick_settings = function()
  1030.     playSound(topPress, 1)
  1031.     Source.Visible = not Source.Visible
  1032.     SetRemotes.Visible = not Source.Visible
  1033.     SetRemotesTab.Visible = not Source.Visible
  1034.     lvl6Frame.Visible = false
  1035. end
  1036.  
  1037. local onclick_remotespy = function()
  1038.     playSound(topPress, 1)
  1039.     spy_enabled = not spy_enabled
  1040.     EnableSpy.TextColor3 = EnableSpy.TextColor3 == Color3.fromRGB(60, 200, 60) and Color3.fromRGB(200, 60, 60) or Color3.fromRGB(60, 200, 60)
  1041.     EnableSpy.BorderColor3 = EnableSpy.TextColor3 == Color3.fromRGB(200, 60, 60) and Color3.fromRGB(100, 30, 30) or Color3.fromRGB(30, 100, 30)
  1042. end
  1043.  
  1044. local onclick_mute = function()
  1045.     playSound(topPress, 1)
  1046.     Mute.BorderColor3 = Mute.BorderColor3 == Color3.fromRGB(30, 100, 30) and Color3.fromRGB(100, 30, 30) or Color3.fromRGB(30, 100, 30)
  1047.     Mute.Icon.ImageColor3 = Mute.Icon.ImageColor3 == Color3.fromRGB(60, 200, 60) and Color3.fromRGB(200, 60, 60) or Color3.fromRGB(60, 200, 60)
  1048.     for i, v in pairs(sounds) do
  1049.         v.Volume = Mute.Icon.ImageColor3 == Color3.fromRGB(60, 200, 60) and 0.5 or 0
  1050.     end
  1051. end
  1052.  
  1053. local onclick_cryptstring = function()
  1054.     playSound(topPress, 1)
  1055.     encrypt_string = not encrypt_string
  1056.     CryptStrings.TextColor3 = CryptStrings.TextColor3 == Color3.fromRGB(60, 200, 60) and Color3.fromRGB(200, 60, 60) or Color3.fromRGB(60, 200, 60)
  1057.     CryptStrings.BorderColor3 = CryptStrings.TextColor3 == Color3.fromRGB(200, 60, 60) and Color3.fromRGB(100, 30, 30) or Color3.fromRGB(30, 100, 30)
  1058. end
  1059.  
  1060. local clear_logs = function()
  1061.     playSound(topPress, 1)
  1062.     Remotes:ClearAllChildren()
  1063.     remotes_fired = 0
  1064.     Total.Text = "0"
  1065. end
  1066.  
  1067. local filter_events = function()
  1068.     local n = 0
  1069.     for i, v in pairs(SetRemotes:GetChildren()) do
  1070.         v.Visible = not (FilterE.TextColor3 == Color3.fromRGB(60, 200, 60) and v.Icon.Image == "rbxassetid://413369623")
  1071.         if v.Visible == true then
  1072.             n = n + 1
  1073.             v.Position = UDim2.new(0, 10, 0, -20 + n * 30)
  1074.         else
  1075.             v.Position = UDim2.new(0, 10, 0, -20 + i * 30)
  1076.         end
  1077.     end
  1078. end
  1079.  
  1080. local filter_functions = function()
  1081.     local n = 0
  1082.     for i, v in pairs(SetRemotes:GetChildren()) do
  1083.         v.Visible = not (FilterF.TextColor3 == Color3.fromRGB(60, 200, 60) and v.Icon.Image == "rbxassetid://413369506")
  1084.         if v.Visible == true then
  1085.             n = n + 1
  1086.             v.Position = UDim2.new(0, 10, 0, -20 + n * 30)
  1087.         else
  1088.             v.Position = UDim2.new(0, 10, 0, -20 + i * 30)
  1089.         end
  1090.     end
  1091. end
  1092.  
  1093. local onclick_fevents = function()
  1094.     playSound(topPress, 1)
  1095.     FilterE.TextColor3 = FilterE.TextColor3 == Color3.fromRGB(60, 200, 60) and Color3.fromRGB(200, 60, 60) or Color3.fromRGB(60, 200, 60)
  1096.     FilterE.BorderColor3 = FilterE.TextColor3 == Color3.fromRGB(200, 60, 60) and Color3.fromRGB(100, 30, 30) or Color3.fromRGB(30, 100, 30)
  1097.     filter_events()
  1098. end
  1099.  
  1100. local onclick_ffunctions = function()
  1101.     playSound(topPress, 1)
  1102.     FilterF.TextColor3 = FilterF.TextColor3 == Color3.fromRGB(60, 200, 60) and Color3.fromRGB(200, 60, 60) or Color3.fromRGB(60, 200, 60)
  1103.     FilterF.BorderColor3 = FilterF.TextColor3 == Color3.fromRGB(200, 60, 60) and Color3.fromRGB(100, 30, 30) or Color3.fromRGB(30, 100, 30)
  1104.     filter_functions()
  1105. end
  1106.  
  1107. local Highlight = function(string, keywords)
  1108.     local K = {}
  1109.     local S = string
  1110.     local Token =
  1111.     {
  1112.         ["="] = true,
  1113.         ["."] = true,
  1114.         [","] = true,
  1115.         ["("] = true,
  1116.         [")"] = true,
  1117.         ["["] = true,
  1118.         ["]"] = true,
  1119.         ["{"] = true,
  1120.         ["}"] = true,
  1121.         [":"] = true,
  1122.         ["*"] = true,
  1123.         ["/"] = true,
  1124.         ["+"] = true,
  1125.         ["-"] = true,
  1126.         ["%"] = true,
  1127.         [";"] = true,
  1128.         ["~"] = true
  1129.     }
  1130.     for i, v in pairs(keywords) do
  1131.         K[v] = true
  1132.     end
  1133.     S = S:gsub(".", function(c)
  1134.         if Token[c] ~= nil then
  1135.             return "\32"
  1136.         else
  1137.             return c
  1138.         end
  1139.     end)
  1140.     S = S:gsub("%S+", function(c)
  1141.         if K[c] ~= nil then
  1142.             return c
  1143.         else
  1144.             return (" "):rep(#c)
  1145.         end
  1146.     end)
  1147.  
  1148.     return S
  1149. end
  1150.  
  1151. local hTokens = function(string)
  1152.     local Token =
  1153.     {
  1154.         ["="] = true,
  1155.         ["."] = true,
  1156.         [","] = true,
  1157.         ["("] = true,
  1158.         [")"] = true,
  1159.         ["["] = true,
  1160.         ["]"] = true,
  1161.         ["{"] = true,
  1162.         ["}"] = true,
  1163.         [":"] = true,
  1164.         ["*"] = true,
  1165.         ["/"] = true,
  1166.         ["+"] = true,
  1167.         ["-"] = true,
  1168.         ["%"] = true,
  1169.         [";"] = true,
  1170.         ["~"] = true
  1171.     }
  1172.     local A = ""
  1173.     string:gsub(".", function(c)
  1174.         if Token[c] ~= nil then
  1175.             A = A .. c
  1176.         elseif c == "\n" then
  1177.             A = A .. "\n"
  1178.         elseif c == "\t" then
  1179.             A = A .. "\t"
  1180.         else
  1181.             A = A .. "\32"
  1182.         end
  1183.     end)
  1184.  
  1185.     return A
  1186. end
  1187.  
  1188.  
  1189. local strings = function(string)
  1190.     local highlight = ""
  1191.     local quote = false
  1192.     string:gsub(".", function(c)
  1193.         if quote == false and c == "\"" then
  1194.             quote = true
  1195.         elseif quote == true and c == "\"" then
  1196.             quote = false
  1197.         end
  1198.         if quote == false and c == "\"" then
  1199.             highlight = highlight .. "\""
  1200.         elseif c == "\n" then
  1201.             highlight = highlight .. "\n"
  1202.         elseif c == "\t" then
  1203.             highlight = highlight .. "\t"
  1204.         elseif quote == true then
  1205.             highlight = highlight .. c
  1206.         elseif quote == false then
  1207.             highlight = highlight .. "\32"
  1208.         end
  1209.     end)
  1210.  
  1211.     return highlight
  1212. end
  1213.  
  1214. local comments = function(string)
  1215.     local ret = ""
  1216.     string:gsub("[^\r\n]+", function(c)
  1217.         local comm = false
  1218.         local i = 0
  1219.         c:gsub(".", function(n)
  1220.             i = i + 1
  1221.             if c:sub(i, i + 1) == "--" then
  1222.                 comm = true
  1223.             end
  1224.             if comm == true then
  1225.                 ret = ret .. n
  1226.             else
  1227.                 ret = ret .. "\32"
  1228.             end
  1229.         end)
  1230.         ret = ret
  1231.     end)
  1232.    
  1233.     return ret
  1234. end
  1235.  
  1236. local copy_source = function()
  1237.     playSound(topPress, 1)
  1238.     local script = ""
  1239.     local copy
  1240.     for i, v in pairs(Source:GetChildren()) do
  1241.         script = script .. v.SourceText.Text .. "\n"
  1242.     end
  1243.     if Clipboard ~= nil then
  1244.         copy = Clipboard.set
  1245.     elseif Synapse ~= nil then
  1246.         copy = function(str)
  1247.             Synapse:Copy(str)
  1248.         end
  1249.     elseif setclipboard ~= nil then
  1250.         copy = setclipboard
  1251.     end
  1252.     copy(script)
  1253. end
  1254.  
  1255. local onclick_fullscreen = function()
  1256.     playSound(openSound, BG.Size == UDim2.new(1, 0, 1, 40) and 0.9 or 1)
  1257.     BG.Draggable = BG.Size == UDim2.new(1, 0, 1, 40)
  1258.     return BG.Size == UDim2.new(1, 0, 1, 40) and size_pos_frame(BG, UDim2.new(1, -300, 1, -200), UDim2.new(0.5, -700, 0.5, -400)) or size_pos_frame(BG, UDim2.new(1, 0, 1, 40), UDim2.new(0, 0, 0, -40))
  1259. end
  1260.  
  1261. local filter_remotes = function(type)
  1262.     local n = 0
  1263.     if type == "Text" then
  1264.         for i, v in pairs(SetRemotes:GetChildren()) do
  1265.             if v.Name:lower():match(Search.Text:lower()) and string ~= "" then
  1266.                 v.Visible = true
  1267.                 n = n + 1
  1268.             else
  1269.                 v.Visible = false
  1270.             end
  1271.             if v.Visible == true then
  1272.                 v.Position = UDim2.new(0, 10, 0, -20 + n * 30)
  1273.             else
  1274.                 v.Position = UDim2.new(0, 10, 0, -20 + i * 30)
  1275.             end
  1276.         end
  1277.     end
  1278. end
  1279.  
  1280. local fix = function(string)
  1281.     if string == "/e fix" then
  1282.         show()
  1283.         wait(0.3)
  1284.         pos_frame(BG, UDim2.new(0.1, 0, 0.1, 0))
  1285.     end
  1286. end
  1287.  
  1288. local highlight_source = function(type)
  1289.     if type == "Text" then
  1290.         Source_.Text = Source_.Text:gsub("\13", "")
  1291.         Source_.Text = Source_.Text:gsub("\t", "      ")
  1292.         local s = Source_.Text
  1293.         Source_.Keywords_.Text = Highlight(s, lua_keywords)
  1294.         Source_.Globals_.Text = Highlight(s, global_env)
  1295.         Source_.RemoteHighlight_.Text = Highlight(s, {"FireServer", "fireServer", "InvokeServer", "invokeServer"})
  1296.         Source_.Strings_.Text = strings(s)
  1297.         Source_.Tokens_.Text = hTokens(s)
  1298.         local lin = 1
  1299.         s:gsub("\n", function()
  1300.             lin = lin + 1
  1301.         end)
  1302.         Lines.Text = ""
  1303.         for i = 1, lin do
  1304.             Lines.Text = Lines.Text .. i .. "\n"
  1305.         end
  1306.     end
  1307. end
  1308.  
  1309. highlight_source("Text")
  1310.  
  1311. local format_warn_time = function()
  1312.     local d = os.date("*t")
  1313.     local tick = tostring(tick())
  1314.     return d.hour .. ":" .. (d.min < 10 and "0" .. d.min or d.min) .. ":" .. (d.sec < 10 and "0" .. d.sec or d.sec) .. "." .. tick:sub(-3)
  1315. end
  1316.  
  1317. local log_output = function(string, type, color)
  1318.     local out = Label:Clone()
  1319.     out.Text = (type == true and string:gsub("\t", "      ") or format_warn_time() .. " - " .. string:gsub("\t", "      "))
  1320.     out.TextColor3 = (color == nil and Color3.new(1, 1, 1) or color)
  1321.     out.Parent = lvl6Output
  1322.     out.Position = UDim2.new(0, 0, 0, -17 + #lvl6Output:GetChildren() * 17)
  1323. end
  1324.  
  1325. local load_source = function()
  1326.     playSound(topPress, 1)
  1327.     local script = ""
  1328.     for i, v in pairs(Source:GetChildren()) do
  1329.         script = script .. v.SourceText.Text .. "\n"
  1330.     end
  1331.     Source_.Text = (script == "" and (function() playSound(errorSound, 1) log_output("You haven't logged any remotes yet...", true) return "" end)() or script)
  1332.     lvl6Frame.Visible = true
  1333.     Source.Visible = false
  1334.     SetRemotes.Visible = false
  1335.     SetRemotesTab.Visible = false
  1336. end
  1337.  
  1338. local output_format = function(...)
  1339.     local string = ""
  1340.     for i, v in pairs{...} do
  1341.         string = string .. tostring(v) .. "     "
  1342.     end
  1343.    
  1344.     return string
  1345. end
  1346.  
  1347. local execute_lvl6 = function()
  1348.     playSound(topPress, 1)
  1349.     local env =
  1350.     {
  1351.         print = function(...)
  1352.             output_format(...):gsub("[^\r\n]+", function(line)
  1353.                 log_output(line, false, Color3.new(1, 1, 1))
  1354.             end)
  1355.         end,
  1356.         warn = function(...)
  1357.             output_format(...):gsub("[^\r\n]+", function(line)
  1358.                 log_output(line, false, Color3.fromRGB(255, 155, 0))
  1359.             end)
  1360.         end
  1361.     }
  1362.     local func = loadstring(Source_.Text)
  1363.     assert(not (type(func) == "nil" or type(func) == "string"), "Syntax error . . . Check script!")
  1364.     spawn(setfenv(func, setmetatable(env, {__index = getfenv()})))
  1365. end
  1366.  
  1367. local clear_output = function()
  1368.     playSound(topPress, 1)
  1369.     lvl6Output:ClearAllChildren()
  1370. end
  1371.  
  1372. local context_error = function(error, trace)
  1373.     playSound(errorSound, 1)
  1374.     error:gsub("[^\r\n]+", function(line)
  1375.         log_output(line, false, Color3.new(1, 0, 0))
  1376.     end)
  1377.     trace:gsub("[^\r\n]+", function(line)
  1378.         log_output(line, false, Color3.fromRGB(0, 100, 255))
  1379.     end)
  1380. end
  1381.  
  1382. -- FrontEnd-Connections // UI Events
  1383.  
  1384. LoadSource.MouseButton1Down:Connect(load_source)
  1385. ClearOutput.MouseButton1Down:Connect(clear_output)
  1386. ExecuteScript.MouseButton1Down:Connect(execute_lvl6)
  1387. ClearScript.MouseButton1Down:Connect(clear_lvl6)
  1388. Source_.Changed:Connect(highlight_source)
  1389. Hide.MouseButton1Down:Connect(onclick_hide)
  1390. lvl6Source.Changed:Connect(onchange_lvl6source)
  1391. Resize.Changed:Connect(resize_onchange)
  1392. lvl6.MouseButton1Down:Connect(onclick_lvl6)
  1393. Settings.MouseButton1Down:Connect(onclick_settings)
  1394. ClearList.MouseButton1Down:Connect(clear_logs)
  1395. EnableSpy.MouseButton1Down:Connect(onclick_remotespy)
  1396. ToClipboard.MouseButton1Down:Connect(copy_source)
  1397. CryptStrings.MouseButton1Down:Connect(onclick_cryptstring)
  1398. FullScreen.MouseButton1Down:Connect(onclick_fullscreen)
  1399. FilterE.MouseButton1Down:Connect(onclick_fevents)
  1400. FilterF.MouseButton1Down:Connect(onclick_ffunctions)
  1401. Search.Changed:Connect(filter_remotes)
  1402. Mute.MouseButton1Down:Connect(onclick_mute)
  1403. game:GetService("Players").LocalPlayer.Chatted:Connect(fix)
  1404. game:GetService("ScriptContext").Error:Connect(context_error)
  1405.  
  1406. -- Recursive Remotefill // UI-Backend
  1407.  
  1408. Table_TS = function(T)
  1409.     local M = {}
  1410.     for i, v in pairs(T) do
  1411.         local I = "\n\t" .. (type(i) == "number" and "[" .. i .. "] = " or "[\"" .. i .. "\"] = ")
  1412.         table.insert(M, I .. (type(v) == "table" and Table_TS(v) or GetType(v)))
  1413.     end
  1414.    
  1415.     return "\n{" .. table.concat(M, ", ") .. "\n}"
  1416. end
  1417.  
  1418. function fill(base)
  1419.     for i, v in pairs(base:GetChildren()) do
  1420.         if v.ClassName:match("Remote") and v.Name ~= "CharacterSoundEvent" then
  1421.             local B = SBTN:Clone()
  1422.            
  1423.             B.Parent = SetRemotes
  1424.             B.Icon.Image = (v.ClassName == "RemoteEvent" and "rbxassetid://413369506" or "rbxassetid://413369623")
  1425.             B.RemoteName.Text = v.Name
  1426.             B.Name = v.Name
  1427.             B.Position = UDim2.new(0, 10, 0, -20 + #SetRemotes:GetChildren() * 30)
  1428.             B.MouseButton1Down:Connect(function()
  1429.                 B.Enabled.Text = B.Enabled.Text == "Enabled" and "Disabled" or "Enabled"
  1430.                 B.Enabled.TextColor3 = B.Enabled.Text == "Enabled" and Color3.fromRGB(60, 200, 60) or Color3.fromRGB(200, 60, 60)
  1431.                 B.Enabled.BorderColor3 = B.Enabled.Text == "Enabled" and Color3.fromRGB(30, 100, 30) or Color3.fromRGB(100, 30, 30)
  1432.                 playSound(disableSound, B.Enabled.Text == "Enabled" and 1 or 0.9)
  1433.                 for i, v in pairs(Remotes:GetChildren()) do
  1434.                     if (v.RemoteName.Text == B.RemoteName.Text) then
  1435.                         v.Icon.ImageColor3 = B.Enabled.Text == "Disabled" and Color3.new(1, 0, 0) or Color3.new(1, 1, 1)
  1436.                     end
  1437.                 end
  1438.             end)
  1439.         end
  1440.         fill(v)
  1441.     end
  1442. end
  1443.  
  1444. fill(game)
  1445.  
  1446. -- Backend // Remotespy Backend
  1447.  
  1448. local game_meta = getrawmetatable(game)
  1449. local game_namecall = game_meta.__namecall
  1450. local namecall_dump = {}
  1451. local current_rmt = nil
  1452. local g_caller = nil
  1453. local f_return = nil
  1454. local Step = game:GetService("RunService").Stepped
  1455.  
  1456. local mwr = function() end
  1457.  
  1458. if setreadonly ~= nil then
  1459.     mwr = function()
  1460.         setreadonly(game_meta, false)
  1461.     end
  1462. elseif make_writeable ~= nil then  
  1463.     mwr = function()
  1464.         make_writeable(game_meta)
  1465.     end
  1466. end
  1467.  
  1468. mwr()
  1469.  
  1470. local namecall_script = function(object, method, ...)
  1471.     local script = "-- Script generated by R2Sv2\n-- R2Sv2 developed by Luckyxero\n-- Remote Path: " .. GetPath(object) .. "\n\32\n"
  1472.     local args = {}
  1473.     for i, v in pairs{...} do
  1474.         script = script .. "local A_" .. i .. " = " .. (type(v) == "table" and Table_TS(v) or GetType(v)) .. "\n"
  1475.         table.insert(args, "A_" .. i)
  1476.     end
  1477.     script = script .. "local Event = " .. GetPath(object) .. "\n\n"
  1478.     script = script .. "Event:" .. method .. "(" .. table.concat(args, ", ") .. ")"
  1479.    
  1480.     return script
  1481. end
  1482.  
  1483.  
  1484. local dump_script = function(script)
  1485.     Source:ClearAllChildren()
  1486.     local lines = 0
  1487.     script:gsub("[^\r\n]+", function(c)
  1488.         lines = lines + 1
  1489.         local tabs = 0
  1490.         c:gsub("%\t", function() tabs = tabs + 1 end)
  1491.         local line = ScriptLine:Clone()
  1492.         line.Parent = Source
  1493.         line.SourceText.Text = c
  1494.         line.Line.Text = lines
  1495.         line.RemoteHighlight.Text = Highlight(c, {"FireServer", "InvokeServer", "invokeServer", "fireServer"})
  1496.         line.Position = UDim2.new(0, tabs * (17 * 2), 0, -17 + #Source:GetChildren() * 17)
  1497.         line.Globals.Text = Highlight(c, global_env)
  1498.         line.Line.Position = UDim2.new(0, 0 - tabs * (17 * 2), 0, 0)
  1499.         line.Strings.Text = strings(c)
  1500.         line.Keywords.Text = Highlight(c, lua_keywords)
  1501.         line.Tokens.Text = hTokens(c)
  1502.         line.Comments.Text = comments(c)
  1503.     end)
  1504. end
  1505.  
  1506. local log_remote = function(table)
  1507.     if SetRemotes[table.object.Name].Enabled.Text == "Disabled" then return end
  1508.     playSound(logSound, 5)
  1509.     local B = RBTN:Clone()
  1510.     g_caller = table.caller
  1511.     remotes_fired = remotes_fired + 1
  1512.     Total.Text = remotes_fired
  1513.  
  1514.     B.Parent = Remotes
  1515.     B.Position = UDim2.new(0, 10, 0, -20 + #Remotes:GetChildren() * 30)
  1516.     B.Icon.Image = table.method == "FireServer" and "rbxassetid://413369506" or "rbxassetid://413369623"
  1517.     B.RemoteName.Text = table.object.Name
  1518.     B.ID.Text = tostring(remotes_fired)
  1519.     B.MouseButton1Down:Connect(function()
  1520.         playSound(topPress, 1)
  1521.         lvl6Frame.Visible = false
  1522.         SetRemotes.Visible = false
  1523.         SetRemotesTab.Visible = false
  1524.         Source.Visible = true
  1525.         dump_script(table.script)
  1526.         g_caller = table.caller
  1527.         f_return = table.freturn == nil and table.object.Name .. " is not RemoteFunction" or table.freturn
  1528.     end)
  1529.     B.MouseButton2Down:Connect(function()
  1530.         local bool = B.Icon.ImageColor3 == Color3.new(1, 1, 1)
  1531.         playSound(disableSound, bool and 0.9 or 1)
  1532.         for i, v in pairs(Remotes:GetChildren()) do
  1533.             if (v.RemoteName.Text == B.RemoteName.Text) then
  1534.                 v.Icon.ImageColor3 = bool and Color3.new(1, 0, 0) or Color3.new(1, 1, 1)
  1535.             end
  1536.         end
  1537.         SetRemotes[B.RemoteName.Text].Enabled.Text = not bool and "Enabled" or "Disabled"
  1538.         SetRemotes[B.RemoteName.Text].Enabled.TextColor3 = not bool and Color3.fromRGB(60, 200, 60) or Color3.fromRGB(200, 60, 60)
  1539.         SetRemotes[B.RemoteName.Text].Enabled.BorderColor3 = not bool and Color3.fromRGB(30, 100, 30) or Color3.fromRGB(100, 30, 30)
  1540.     end)
  1541. end
  1542.  
  1543. local get_namecall_dump = function(script, object, ...)
  1544.     local Ret = nil
  1545.     if object.ClassName == "RemoteFunction" then
  1546.         local freturn = {pcall(object.InvokeServer, object, ...)}
  1547.         freturn = {select(2, unpack(freturn))}
  1548.        
  1549.         if #freturn == 0 then
  1550.             Ret = object.Name .. " is a void type RemoteFunction."
  1551.         else
  1552.             Ret = "local " .. object.Name .. "_return = " .. Table_TS(freturn)
  1553.         end
  1554.     end
  1555.     namecall_dump[#namecall_dump + 1] =
  1556.     {  
  1557.         script = namecall_script(object, object.ClassName == "RemoteEvent" and "FireServer" or "InvokeServer", ...),
  1558.         caller = script,
  1559.         object = object,
  1560.         method = object.ClassName == "RemoteEvent" and "FireServer" or "InvokeServer",
  1561.         freturn = Ret
  1562.     }
  1563. end
  1564.  
  1565. GetReturn.MouseButton1Down:Connect(function()
  1566.     dump_script(f_return)
  1567.     if (f_return:match("is not Remote")) then playSound(errorSound, 1) end
  1568. end)
  1569.  
  1570. Decompile.MouseButton1Down:Connect(function()
  1571.     playSound(topPress, 1)
  1572.     local source = decompile(g_caller)
  1573.        
  1574.     dump_script(type(source) == "boolean" and (function() playSound(errorSound, 1) Source.Visible = false SetRemotes.Visible = false SetRemotesTab.Visible = false lvl6Frame.Visible = true log_output("Failed to decompile...", true) return "" end)() or source)
  1575. end)
  1576.  
  1577. Step:Connect(function()
  1578.     while #namecall_dump > 0 do
  1579.         log_remote(table.remove(namecall_dump, 1))
  1580.     end
  1581. end)
  1582.  
  1583. local on_namecall = function(object, ...)
  1584.     local method = select(#{...}, ...)
  1585.     local args = {...}
  1586.     args[#args] = nil
  1587.     if object.Name ~= "CharacterSoundEvent" and method:match("Server") and spy_enabled == true then get_namecall_dump(getfenv(2).script, object, unpack(args)) end
  1588.  
  1589.     return game_namecall(object, ...)
  1590. end
  1591.  
  1592. local onclick_refresh = function()
  1593.     SetRemotes:ClearAllChildren()
  1594.     wait(0.2)
  1595.     fill(game)
  1596. end
  1597.  
  1598. Refresh.MouseButton1Down:Connect(onclick_refresh)
  1599. game_meta.__namecall = on_namecall
Add Comment
Please, Sign In to add comment