Upscalefanatic3

*OP* REMOTESPY

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