Charliezkie

Remote spy

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