trixade

Untitled

Oct 9th, 2021
681
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 59.11 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 Discord = 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 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. SetRemotesTab.Name = "SetRemotesTab"
  552. SetRemotesTab.Parent = BG
  553. SetRemotesTab.Visible = false
  554. SetRemotesTab.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  555. SetRemotesTab.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  556. SetRemotesTab.ClipsDescendants = true
  557. SetRemotesTab.Position = UDim2.new(0, 270, 1, -50)
  558. SetRemotesTab.Size = UDim2.new(1, -280, 0, 40)
  559. SetRemotesTab.ZIndex = 2
  560.  
  561. FilterF.Name = "FilterF"
  562. FilterF.Parent = SetRemotesTab
  563. FilterF.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  564. FilterF.BorderColor3 = Color3.new(0.392157, 0.117647, 0.117647)
  565. FilterF.Position = UDim2.new(0, 120, 0.5, -10)
  566. FilterF.Size = UDim2.new(0, 120, 0, 20)
  567. FilterF.ZIndex = 3
  568. FilterF.Font = Enum.Font.SourceSansBold
  569. FilterF.FontSize = Enum.FontSize.Size14
  570. FilterF.Text = "FILTER FUNCTIONS"
  571. FilterF.TextColor3 = Color3.new(0.784314, 0.235294, 0.235294)
  572. FilterF.TextSize = 14
  573.  
  574. FilterE.Name = "FilterE"
  575. FilterE.Parent = SetRemotesTab
  576. FilterE.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  577. FilterE.BorderColor3 = Color3.new(0.392157, 0.117647, 0.117647)
  578. FilterE.Position = UDim2.new(0, 10, 0.5, -10)
  579. FilterE.Size = UDim2.new(0, 100, 0, 20)
  580. FilterE.ZIndex = 3
  581. FilterE.Font = Enum.Font.SourceSansBold
  582. FilterE.FontSize = Enum.FontSize.Size14
  583. FilterE.Text = "FILTER EVENTS"
  584. FilterE.TextColor3 = Color3.new(0.784314, 0.235294, 0.235294)
  585. FilterE.TextSize = 14
  586.  
  587. Search.Name = "Search"
  588. Search.Parent = SetRemotesTab
  589. Search.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  590. Search.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  591. Search.Position = UDim2.new(0, 360, 0.5, -10)
  592. Search.Selectable = true
  593. Search.Size = UDim2.new(1, -370, 0, 20)
  594. Search.ZIndex = 3
  595. Search.Font = Enum.Font.SourceSansBold
  596. Search.FontSize = Enum.FontSize.Size14
  597. Search.Text = "[SEARCH]"
  598. Search.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  599. Search.TextSize = 14
  600.  
  601. lvl6Output.Name = "lvl6Output"
  602. lvl6Output.Parent = lvl6Frame
  603. lvl6Output.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  604. lvl6Output.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  605. lvl6Output.Position = UDim2.new(0, 0, 1, -110)
  606. lvl6Output.Size = UDim2.new(1, 0, 0, 110)
  607. lvl6Output.ZIndex = 3
  608. lvl6Output.CanvasSize = UDim2.new(3, 0, 15, 0)
  609. lvl6Output.BottomImage = "rbxassetid://148970562"
  610. lvl6Output.MidImage = "rbxassetid://148970562"
  611. lvl6Output.ScrollBarThickness = 5
  612. lvl6Output.TopImage = "rbxassetid://148970562"
  613.  
  614. lvl6Source.Name = "lvl6Source"
  615. lvl6Source.Parent = lvl6Frame
  616. lvl6Source.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  617. lvl6Source.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  618. lvl6Source.Position = UDim2.new(0, 0, 0, 30)
  619. lvl6Source.Size = UDim2.new(1, 0, 1, -160)
  620. lvl6Source.ZIndex = 3
  621. lvl6Source.BottomImage = "rbxassetid://148970562"
  622. lvl6Source.CanvasSize = UDim2.new(0, 0, 20, 0)
  623. lvl6Source.MidImage = "rbxassetid://148970562"
  624. lvl6Source.ScrollBarThickness = 5
  625. lvl6Source.TopImage = "rbxassetid://148970562"
  626.  
  627. Source_.Name = "Source_"
  628. Source_.Parent = lvl6Source
  629. Source_.BackgroundColor3 = Color3.new(1, 1, 1)
  630. Source_.BackgroundTransparency = 1
  631. Source_.Size = UDim2.new(1, 0, 1, 0)
  632. Source_.Position = UDim2.new(0, 30, 0, 0)
  633. Source_.ZIndex = 4
  634. Source_.ClearTextOnFocus = false
  635. Source_.MultiLine = true
  636. Source_.Font = Enum.Font.Code
  637. Source_.FontSize = Enum.FontSize.Size18
  638. Source_.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  639. Source_.TextSize = 17
  640. Source_.Text = "print(\"Welcome to R2S script editor!\")"
  641. Source_.TextXAlignment = Enum.TextXAlignment.Left
  642. Source_.TextYAlignment = Enum.TextYAlignment.Top
  643.  
  644. Comments_.Name = "Comments_"
  645. Comments_.Parent = Source_
  646. Comments_.BackgroundColor3 = Color3.new(1, 1, 1)
  647. Comments_.BackgroundTransparency = 1
  648. Comments_.Size = UDim2.new(1, 0, 1, 0)
  649. Comments_.ZIndex = 5
  650. Comments_.Font = Enum.Font.Code
  651. Comments_.FontSize = Enum.FontSize.Size18
  652. Comments_.Text = ""
  653. Comments_.TextColor3 = Color3.new(0.235294, 0.784314, 0.235294)
  654. Comments_.TextSize = 17
  655. Comments_.TextXAlignment = Enum.TextXAlignment.Left
  656. Comments_.TextYAlignment = Enum.TextYAlignment.Top
  657.  
  658. Globals_.Name = "Globals_"
  659. Globals_.Parent = Source_
  660. Globals_.BackgroundColor3 = Color3.new(1, 1, 1)
  661. Globals_.BackgroundTransparency = 1
  662. Globals_.Size = UDim2.new(1, 0, 1, 0)
  663. Globals_.ZIndex = 5
  664. Globals_.Font = Enum.Font.Code
  665. Globals_.FontSize = Enum.FontSize.Size18
  666. Globals_.Text = ""
  667. Globals_.TextColor3 = Color3.new(1, 0, 0)
  668. Globals_.TextSize = 17
  669. Globals_.TextXAlignment = Enum.TextXAlignment.Left
  670. Globals_.TextYAlignment = Enum.TextYAlignment.Top
  671.  
  672. Keywords_.Name = "Keywords_"
  673. Keywords_.Parent = Source_
  674. Keywords_.BackgroundColor3 = Color3.new(1, 1, 1)
  675. Keywords_.BackgroundTransparency = 1
  676. Keywords_.Size = UDim2.new(1, 0, 1, 0)
  677. Keywords_.ZIndex = 5
  678. Keywords_.Font = Enum.Font.Code
  679. Keywords_.FontSize = Enum.FontSize.Size18
  680. Keywords_.Text = ""
  681. Keywords_.TextColor3 = Color3.new(0.231373, 1, 0)
  682. Keywords_.TextSize = 17
  683. Keywords_.TextXAlignment = Enum.TextXAlignment.Left
  684. Keywords_.TextYAlignment = Enum.TextYAlignment.Top
  685.  
  686. RemoteHighlight_.Name = "RemoteHighlight_"
  687. RemoteHighlight_.Parent = Source_
  688. RemoteHighlight_.BackgroundColor3 = Color3.new(1, 1, 1)
  689. RemoteHighlight_.BackgroundTransparency = 1
  690. RemoteHighlight_.Size = UDim2.new(1, 0, 1, 0)
  691. RemoteHighlight_.ZIndex = 5
  692. RemoteHighlight_.Font = Enum.Font.Code
  693. RemoteHighlight_.FontSize = Enum.FontSize.Size18
  694. RemoteHighlight_.Text = ""
  695. RemoteHighlight_.TextColor3 = Color3.new(0, 0.568627, 1)
  696. RemoteHighlight_.TextSize = 17
  697. RemoteHighlight_.TextXAlignment = Enum.TextXAlignment.Left
  698. RemoteHighlight_.TextYAlignment = Enum.TextYAlignment.Top
  699.  
  700. Strings_.Name = "Strings_"
  701. Strings_.Parent = Source_
  702. Strings_.BackgroundColor3 = Color3.new(1, 1, 1)
  703. Strings_.BackgroundTransparency = 1
  704. Strings_.Size = UDim2.new(1, 0, 1, 0)
  705. Strings_.ZIndex = 5
  706. Strings_.Font = Enum.Font.Code
  707. Strings_.FontSize = Enum.FontSize.Size18
  708. Strings_.Text = ""
  709. Strings_.TextColor3 = Color3.new(1, 0.615686, 0)
  710. Strings_.TextSize = 17
  711. Strings_.TextXAlignment = Enum.TextXAlignment.Left
  712. Strings_.TextYAlignment = Enum.TextYAlignment.Top
  713.  
  714. Tokens_.Name = "Tokens_"
  715. Tokens_.Parent = Source_
  716. Tokens_.BackgroundColor3 = Color3.new(1, 1, 1)
  717. Tokens_.BackgroundTransparency = 1
  718. Tokens_.Size = UDim2.new(1, 0, 1, 0)
  719. Tokens_.ZIndex = 5
  720. Tokens_.Font = Enum.Font.Code
  721. Tokens_.FontSize = Enum.FontSize.Size18
  722. Tokens_.Text = ""
  723. Tokens_.TextColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  724. Tokens_.TextSize = 17
  725. Tokens_.TextXAlignment = Enum.TextXAlignment.Left
  726. Tokens_.TextYAlignment = Enum.TextYAlignment.Top
  727.  
  728. ExecuteScript.Name = "ExecuteScript"
  729. ExecuteScript.Parent = lvl6Frame
  730. ExecuteScript.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  731. ExecuteScript.BorderColor3 = Color3.new(0.117647, 0.392157, 0.117647)
  732. ExecuteScript.Size = UDim2.new(1, -700, 0, 20)
  733. ExecuteScript.ZIndex = 3
  734. ExecuteScript.Font = Enum.Font.SourceSansBold
  735. ExecuteScript.FontSize = Enum.FontSize.Size14
  736. ExecuteScript.Text = "EXECUTE"
  737. ExecuteScript.TextColor3 = Color3.new(0.235294, 0.784314, 0.235294)
  738. ExecuteScript.TextSize = 14
  739.  
  740. lvl6.Name = "lvl6"
  741. lvl6.Parent = ButtonsFrame
  742. lvl6.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  743. lvl6.BorderColor3 = Color3.new(0.384314, 0.384314, 0.384314)
  744. lvl6.Position = UDim2.new(0, 840, 0.5, -10)
  745. lvl6.Size = UDim2.new(0, 100, 0, 20)
  746. lvl6.ZIndex = 3
  747. lvl6.Font = Enum.Font.SourceSansBold
  748. lvl6.FontSize = Enum.FontSize.Size14
  749. lvl6.Text = "LVL6 "
  750. lvl6.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  751. lvl6.TextSize = 14
  752.  
  753. lvl6Frame.Name = "lvl6Frame"
  754. lvl6Frame.Parent = BG
  755. lvl6Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  756. lvl6Frame.BackgroundTransparency = 1
  757. lvl6Frame.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  758. lvl6Frame.Position = UDim2.new(0, 270, 0, 80)
  759. lvl6Frame.Size = UDim2.new(1, -280, 1, -90)
  760. lvl6Frame.ZIndex = 2
  761. lvl6Frame.Visible = false
  762.  
  763. Resize.Name = "Resize"
  764. Resize.Parent = lvl6Frame
  765. Resize.BackgroundColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  766. Resize.BorderSizePixel = 0
  767. Resize.Draggable = true
  768. Resize.Position = UDim2.new(0.5, -50, 1, -130)
  769. Resize.Size = UDim2.new(0, 100, 0, 10)
  770. Resize.ZIndex = 3
  771. Resize.Font = Enum.Font.SourceSans
  772. Resize.FontSize = Enum.FontSize.Size14
  773. Resize.Text = ""
  774. Resize.TextSize = 14
  775.  
  776. ClearScript.Name = "ClearScript"
  777. ClearScript.Parent = lvl6Frame
  778. ClearScript.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  779. ClearScript.BorderColor3 = Color3.new(0.392157, 0.117647, 0.117647)
  780. ClearScript.Position = UDim2.new(1, -280, 0, 0)
  781. ClearScript.Size = UDim2.new(0, 280, 0, 20)
  782. ClearScript.ZIndex = 3
  783. ClearScript.Font = Enum.Font.SourceSansBold
  784. ClearScript.FontSize = Enum.FontSize.Size14
  785. ClearScript.Text = "CLEAR"
  786. ClearScript.TextColor3 = Color3.new(0.784314, 0.235294, 0.235294)
  787. ClearScript.TextSize = 14
  788.  
  789. ClearOutput.Name = "ClearOutput"
  790. ClearOutput.Parent = lvl6Frame
  791. ClearOutput.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  792. ClearOutput.BorderColor3 = Color3.new(0.392157, 0.117647, 0.117647)
  793. ClearOutput.Position = UDim2.new(1, -680, 0, 0)
  794. ClearOutput.Size = UDim2.new(0, 390, 0, 20)
  795. ClearOutput.ZIndex = 3
  796. ClearOutput.Font = Enum.Font.SourceSansBold
  797. ClearOutput.FontSize = Enum.FontSize.Size14
  798. ClearOutput.Text = "CLEAR OUTPUT"
  799. ClearOutput.TextColor3 = Color3.new(0.784314, 0.235294, 0.235294)
  800. ClearOutput.TextSize = 14
  801.  
  802. Label.Name = "Label"
  803. Label.Parent = Storage
  804. Label.BackgroundColor3 = Color3.new(1, 1, 1)
  805. Label.BackgroundTransparency = 1
  806. Label.Size = UDim2.new(1, 0, 0, 17)
  807. Label.ZIndex = 4
  808. Label.Font = Enum.Font.Code
  809. Label.FontSize = Enum.FontSize.Size14
  810. Label.TextColor3 = Color3.new(1, 1, 1)
  811. Label.TextSize = 14
  812. Label.TextXAlignment = Enum.TextXAlignment.Left
  813.  
  814. Lines.Name = "Lines"
  815. Lines.Parent = lvl6Source
  816. Lines.BackgroundColor3 = Color3.new(1, 1, 1)
  817. Lines.BackgroundTransparency = 1
  818. Lines.Size = UDim2.new(0, 30, 1, 0)
  819. Lines.ZIndex = 4
  820. Lines.Font = Enum.Font.Code
  821. Lines.FontSize = Enum.FontSize.Size18
  822. Lines.Text = "1"
  823. Lines.TextColor3 = Color3.new(1, 1, 1)
  824. Lines.TextSize = 17
  825. Lines.TextYAlignment = Enum.TextYAlignment.Top
  826.  
  827. LoadSource.Name = "LoadSource"
  828. LoadSource.Parent = ButtonsFrame
  829. LoadSource.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  830. LoadSource.BorderColor3 = Color3.new(0.384314, 0.384314, 0.384314)
  831. LoadSource.Position = UDim2.new(0, 950, 0.5, -10)
  832. LoadSource.Size = UDim2.new(0, 100, 0, 20)
  833. LoadSource.ZIndex = 3
  834. LoadSource.Font = Enum.Font.SourceSansBold
  835. LoadSource.FontSize = Enum.FontSize.Size14
  836. LoadSource.Text = "LOAD"
  837. LoadSource.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  838. LoadSource.TextSize = 14
  839.  
  840. Mute.Name = "Mute"
  841. Mute.Parent = ButtonsFrame
  842. Mute.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  843. Mute.BorderColor3 = Color3.fromRGB(30, 100, 30)
  844. Mute.Position = UDim2.new(0, 1060, 0.5, -10)
  845. Mute.Size = UDim2.new(0, 100, 0, 20)
  846. Mute.ZIndex = 3
  847. Mute.Font = Enum.Font.SourceSansBold
  848. Mute.FontSize = Enum.FontSize.Size14
  849. Mute.Text = ""
  850. Mute.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  851. Mute.TextSize = 14
  852.  
  853. Icon_3 .Name = "Icon"
  854. Icon_3 .Parent = Mute
  855. Icon_3 .BackgroundColor3 = Color3.new(1, 1, 1)
  856. Icon_3 .BackgroundTransparency = 1
  857. Icon_3 .Position = UDim2.new(0.5, -10, 0, 0)
  858. Icon_3 .Size = UDim2.new(0, 20, 1, 0)
  859. Icon_3 .ZIndex = 4
  860. Icon_3 .Image = "rbxassetid://302250236"
  861. Icon_3 .ImageColor3 = Color3.fromRGB(60, 200, 60)
  862.  
  863. Refresh.Name = "Refresh"
  864. Refresh.Parent = SetRemotesTab
  865. Refresh.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  866. Refresh.BorderColor3 = Color3.new(0.380392, 0.380392, 0.380392)
  867. Refresh.Position = UDim2.new(0, 250, 0.5, -10)
  868. Refresh.Size = UDim2.new(0, 100, 0, 20)
  869. Refresh.ZIndex = 3
  870. Refresh.Font = Enum.Font.SourceSansBold
  871. Refresh.FontSize = Enum.FontSize.Size14
  872. Refresh.Text = "REFRESH"
  873. Refresh.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  874. Refresh.TextSize = 14
  875.  
  876. RemoteButtons.Name = "RemoteButtons"
  877. RemoteButtons.Parent = BG
  878. RemoteButtons.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  879. RemoteButtons.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  880. RemoteButtons.Position = UDim2.new(0, 270, 1, -50)
  881. RemoteButtons.Size = UDim2.new(1, -280, 0, 40)
  882. RemoteButtons.ZIndex = 2
  883. RemoteButtons.BottomImage = "rbxassetid://148970562"
  884. RemoteButtons.CanvasSize = UDim2.new(2, 0, 0, 0)
  885. RemoteButtons.MidImage = "rbxassetid://148970562"
  886. RemoteButtons.ScrollBarThickness = 5
  887. RemoteButtons.TopImage = "rbxassetid://148970562"
  888.  
  889. FireRemote.Name = "FireRemote"
  890. FireRemote.Parent = RemoteButtons
  891. FireRemote.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  892. FireRemote.BorderColor3 = Color3.new(0.384314, 0.384314, 0.384314)
  893. FireRemote.Position = UDim2.new(0, 10, 0.5, -10)
  894. FireRemote.Size = UDim2.new(0, 100, 0, 20)
  895. FireRemote.ZIndex = 3
  896. FireRemote.Font = Enum.Font.SourceSansBold
  897. FireRemote.FontSize = Enum.FontSize.Size14
  898. FireRemote.Text = "FIRE REMOTE"
  899. FireRemote.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  900. FireRemote.TextSize = 14
  901.  
  902. FireDelay.Name = "FireDelay"
  903. FireDelay.Parent = RemoteButtons
  904. FireDelay.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  905. FireDelay.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  906. FireDelay.Position = UDim2.new(0, 290, 0.5, -10)
  907. FireDelay.Size = UDim2.new(0, 50, 0, 20)
  908. FireDelay.ZIndex = 3
  909. FireDelay.Font = Enum.Font.SourceSansBold
  910. FireDelay.FontSize = Enum.FontSize.Size14
  911. FireDelay.Text = "0"
  912. FireDelay.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  913. FireDelay.TextSize = 14
  914.  
  915. LoopFire.Name = "LoopFire"
  916. LoopFire.Parent = RemoteButtons
  917. LoopFire.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  918. LoopFire.BorderColor3 = Color3.new(0.384314, 0.384314, 0.384314)
  919. LoopFire.Position = UDim2.new(0, 120, 0.5, -10)
  920. LoopFire.Size = UDim2.new(0, 100, 0, 20)
  921. LoopFire.ZIndex = 3
  922. LoopFire.Font = Enum.Font.SourceSansBold
  923. LoopFire.FontSize = Enum.FontSize.Size14
  924. LoopFire.Text = "FOR-LOOP FIRE"
  925. LoopFire.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  926. LoopFire.TextSize = 14
  927.  
  928. FireAmount.Name = "FireAmount"
  929. FireAmount.Parent = RemoteButtons
  930. FireAmount.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  931. FireAmount.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  932. FireAmount.Position = UDim2.new(0, 230, 0.5, -10)
  933. FireAmount.Size = UDim2.new(0, 50, 0, 20)
  934. FireAmount.ZIndex = 3
  935. FireAmount.Font = Enum.Font.SourceSansBold
  936. FireAmount.FontSize = Enum.FontSize.Size14
  937. FireAmount.Text = "0"
  938. FireAmount.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  939. FireAmount.TextSize = 14
  940.  
  941. Break.Name = "Break"
  942. Break.Parent = RemoteButtons
  943. Break.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  944. Break.BorderColor3 = Color3.new(0.392157, 0.117647, 0.117647)
  945. Break.Position = UDim2.new(0, 350, 0.5, -10)
  946. Break.Size = UDim2.new(0, 100, 0, 20)
  947. Break.ZIndex = 3
  948. Break.Font = Enum.Font.SourceSansBold
  949. Break.FontSize = Enum.FontSize.Size14
  950. Break.Text = "BREAK"
  951. Break.TextColor3 = Color3.new(0.784314, 0.235294, 0.235294)
  952. Break.TextSize = 14
  953.  
  954. WhileLoopFire.Name = "WhileLoopFire"
  955. WhileLoopFire.Parent = RemoteButtons
  956. WhileLoopFire.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  957. WhileLoopFire.BorderColor3 = Color3.new(0.384314, 0.384314, 0.384314)
  958. WhileLoopFire.Position = UDim2.new(0, 460, 0.5, -10)
  959. WhileLoopFire.Size = UDim2.new(0, 100, 0, 20)
  960. WhileLoopFire.ZIndex = 3
  961. WhileLoopFire.Font = Enum.Font.SourceSansBold
  962. WhileLoopFire.FontSize = Enum.FontSize.Size14
  963. WhileLoopFire.Text = "INF-LOOP FIRE"
  964. WhileLoopFire.TextColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  965. WhileLoopFire.TextSize = 14
  966.  
  967. Discord.Name = "Discord"
  968. Discord.Parent = Ribbon
  969. Discord.BackgroundColor3 = Color3.new(1, 0.0117647, 0.423529)
  970. Discord.BorderSizePixel = 0
  971. Discord.Size = UDim2.new(0, 200, 0, 20)
  972. Discord.ZIndex = 3
  973. Discord.Font = Enum.Font.SourceSansBold
  974. Discord.FontSize = Enum.FontSize.Size14
  975. Discord.Text = "https://discord.me/R2S"
  976. Discord.TextColor3 = Color3.new(1, 1, 1)
  977. Discord.TextSize = 14
  978.  
  979. -- FrontEnd-Backend // UI Functions
  980.  
  981. local playSound = function(sound, int)
  982.     spawn(function()
  983.         local s = sound:Clone()
  984.         s.Parent = RemoteSpy
  985.         s:Play()
  986.         s.PlaybackSpeed = int
  987.     end)
  988. end
  989.  
  990. local HasSpecial = function(string)
  991.     return (string:match("%c") or string:match("%s") or string:match("%p")) ~= nil
  992. end
  993.  
  994. local GetPath = function(Instance)
  995.     local Obj = Instance
  996.     local string = {}
  997.     local temp = {}
  998.     local error = false
  999.    
  1000.     while Obj ~= game do
  1001.         if Obj == nil then
  1002.             error = true
  1003.             break
  1004.         end
  1005.         table.insert(temp, Obj.Parent == game and Obj.ClassName or tostring(Obj))
  1006.         Obj = Obj.Parent
  1007.     end
  1008.    
  1009.     table.insert(string, "game:GetService(\"" .. temp[#temp] .. "\")")
  1010.    
  1011.     for i = #temp - 1, 1, -1 do
  1012.         table.insert(string, HasSpecial(temp[i]) and "[\"" .. temp[i] .. "\"]" or "." .. temp[i])
  1013.     end
  1014.  
  1015.     return (error and "nil -- Path contained an invalid instance" or table.concat(string, ""))
  1016. end
  1017.  
  1018. local GetType = function(Instance)
  1019.     local Types =
  1020.     {
  1021.         EnumItem = function()
  1022.             return "Enum." .. tostring(Instance.EnumType) .. "." .. tostring(Instance.Name)
  1023.         end,
  1024.         Instance = function()
  1025.             return GetPath(Instance)
  1026.         end,
  1027.         CFrame = function()
  1028.             return "CFrame.new(" .. tostring(Instance) .. ")"
  1029.         end,
  1030.         Vector3 = function()
  1031.             return "Vector3.new(" .. tostring(Instance) .. ")"
  1032.         end,
  1033.         BrickColor = function()
  1034.             return "BrickColor.new(\"" .. tostring(Instance) .. "\")"
  1035.         end,
  1036.         Color3 = function()
  1037.             return "Color3.new(" .. tostring(Instance) .. ")"
  1038.         end,
  1039.         string = function()
  1040.             local S = tostring(Instance)
  1041.             return "\"" .. (encrypt_string and S:gsub(".", function(c) return "\\" .. c:byte() end) or S) .. "\""
  1042.         end,
  1043.         Ray = function()
  1044.             return "Ray.new(Vector3.new(" .. tostring(Instance.Origin) .. "), Vector3.new(" .. tostring(Instance.Direction) .. "))"
  1045.         end
  1046.     }
  1047.  
  1048.     return Types[typeof(Instance)] ~= nil and Types[typeof(Instance)]() or tostring(Instance)
  1049. end
  1050.  
  1051. local size_frame = function(frame, UDim)
  1052.     frame:TweenSize(UDim, "Out", "Quint", 0.3)
  1053. end
  1054.  
  1055. local pos_frame = function(frame, UDim)
  1056.     frame:TweenPosition(UDim, "Out", "Quint", 0.3)
  1057. end
  1058.  
  1059. local size_pos_frame = function(frame, UDim, UDim2)
  1060.     frame:TweenSizeAndPosition(UDim, UDim2, "Out", "Quint", 0.3)
  1061. end
  1062.  
  1063. local resize_onchange = function(type)
  1064.     if type == "Position" then
  1065.         Resize.Position = UDim2.new(0.5, -50, 1, Resize.Position.Y.Offset)
  1066.         lvl6Source.Size = UDim2.new(1, 0, 1, Resize.Position.Y.Offset - 30)
  1067.         lvl6Output.Position = UDim2.new(0, 0, 1, Resize.Position.Y.Offset + 20)
  1068.         lvl6Output.Size = UDim2.new(1, 0, 0, 110 + (-130 - Resize.Position.Y.Offset))
  1069.         if Resize.Position.Y.Offset <= -420 then
  1070.             Resize.Position = UDim2.new(0.5, -50, 1, -420)
  1071.         elseif Resize.Position.Y.Offset >= -40 then
  1072.             Resize.Position = UDim2.new(0.5, -50, 1, -40)
  1073.         end
  1074.     end
  1075. end
  1076.  
  1077. local clear_lvl6 = function()
  1078.     playSound(topPress, 1)
  1079.     Source_.Text = ""
  1080. end
  1081.  
  1082. local onchange_lvl6source = function(type)
  1083.     if type == "Text" then
  1084.         Source_.Comments_.Text = Comments(Source_.Text)
  1085.     end
  1086. end
  1087.  
  1088. local hide = function()
  1089.     playSound(openSound, 0.9)
  1090.     size_frame(BG, UDim2.new(0, 300, 0, 20))
  1091.     pos_frame(Title, UDim2.new(0, 0, 0, 0))
  1092.     pos_frame(Remotes, UDim2.new(0, 10, 0, 100))
  1093.     pos_frame(Source, UDim2.new(0, 270, 0, 100))
  1094.     BG.Draggable = true
  1095.     SetRemotes.Visible = false
  1096.     SetRemotesTab.Visible = false
  1097.     lvl6Frame.Visible = false
  1098.     Source.Visible = true
  1099.    
  1100.     return "[]"
  1101. end
  1102.  
  1103. local show = function()
  1104.     playSound(openSound, 1)
  1105.     size_frame(BG, UDim2.new(1, -300, 1, -200))
  1106.     pos_frame(BG, UDim2.new(0.1, 0, 0.1, 0))
  1107.     pos_frame(Title, UDim2.new(0.5, -100, 0, 0))
  1108.     pos_frame(Remotes, UDim2.new(0, 10, 0, 80))
  1109.     pos_frame(Source, UDim2.new(0, 270, 0, 80))
  1110.     BG.Draggable = false
  1111.    
  1112.     return "_"
  1113. end
  1114.  
  1115. local onclick_lvl6 = function()
  1116.     print("hi")
  1117.     playSound(topPress, 1)
  1118.     lvl6Frame.Visible = true
  1119.     RemoteButtons.Visible = false
  1120.     SetRemotes.Visible = false
  1121.     SetRemotesTab.Visible = false
  1122.     Source.Visible = false
  1123. end
  1124.  
  1125. local onclick_hide = function()
  1126.     Hide.Text = Hide.Text == "_" and hide() or show()
  1127. end
  1128.  
  1129. local onclick_settings = function()
  1130.     playSound(topPress, 1)
  1131.     Source.Visible = not Source.Visible
  1132.     SetRemotes.Visible = not Source.Visible
  1133.     SetRemotesTab.Visible = not Source.Visible
  1134.     RemoteButtons.Visible = Source.Visible
  1135.     lvl6Frame.Visible = false
  1136. end
  1137.  
  1138. local onclick_remotespy = function()
  1139.     playSound(topPress, 1)
  1140.     spy_enabled = not spy_enabled
  1141.     EnableSpy.TextColor3 = EnableSpy.TextColor3 == Color3.fromRGB(60, 200, 60) and Color3.fromRGB(200, 60, 60) or Color3.fromRGB(60, 200, 60)
  1142.     EnableSpy.BorderColor3 = EnableSpy.TextColor3 == Color3.fromRGB(200, 60, 60) and Color3.fromRGB(100, 30, 30) or Color3.fromRGB(30, 100, 30)
  1143. end
  1144.  
  1145. local onclick_mute = function()
  1146.     playSound(topPress, 1)
  1147.     Mute.BorderColor3 = Mute.BorderColor3 == Color3.fromRGB(30, 100, 30) and Color3.fromRGB(100, 30, 30) or Color3.fromRGB(30, 100, 30)
  1148.     Mute.Icon.ImageColor3 = Mute.Icon.ImageColor3 == Color3.fromRGB(60, 200, 60) and Color3.fromRGB(200, 60, 60) or Color3.fromRGB(60, 200, 60)
  1149.     for i, v in pairs(sounds) do
  1150.         v.Volume = Mute.Icon.ImageColor3 == Color3.fromRGB(60, 200, 60) and 0.5 or 0
  1151.     end
  1152. end
  1153.  
  1154. local onclick_cryptstring = function()
  1155.     playSound(topPress, 1)
  1156.     encrypt_string = not encrypt_string
  1157.     CryptStrings.TextColor3 = CryptStrings.TextColor3 == Color3.fromRGB(60, 200, 60) and Color3.fromRGB(200, 60, 60) or Color3.fromRGB(60, 200, 60)
  1158.     CryptStrings.BorderColor3 = CryptStrings.TextColor3 == Color3.fromRGB(200, 60, 60) and Color3.fromRGB(100, 30, 30) or Color3.fromRGB(30, 100, 30)
  1159. end
  1160.  
  1161. local clear_logs = function()
  1162.     playSound(topPress, 1)
  1163.     Remotes:ClearAllChildren()
  1164.     remotes_fired = 0
  1165.     Total.Text = "0"
  1166. end
  1167.  
  1168. local filter_events = function()
  1169.     local n = 0
  1170.     for i, v in pairs(SetRemotes:GetChildren()) do
  1171.         v.Visible = not (FilterE.TextColor3 == Color3.fromRGB(60, 200, 60) and v.Icon.Image == "rbxassetid://413369623")
  1172.         if v.Visible == true then
  1173.             n = n + 1
  1174.             v.Position = UDim2.new(0, 10, 0, -20 + n * 30)
  1175.         else
  1176.             v.Position = UDim2.new(0, 10, 0, -20 + i * 30)
  1177.         end
  1178.     end
  1179. end
  1180.  
  1181. local filter_functions = function()
  1182.     local n = 0
  1183.     for i, v in pairs(SetRemotes:GetChildren()) do
  1184.         v.Visible = not (FilterF.TextColor3 == Color3.fromRGB(60, 200, 60) and v.Icon.Image == "rbxassetid://413369506")
  1185.         if v.Visible == true then
  1186.             n = n + 1
  1187.             v.Position = UDim2.new(0, 10, 0, -20 + n * 30)
  1188.         else
  1189.             v.Position = UDim2.new(0, 10, 0, -20 + i * 30)
  1190.         end
  1191.     end
  1192. end
  1193.  
  1194. local onclick_fevents = function()
  1195.     playSound(topPress, 1)
  1196.     FilterE.TextColor3 = FilterE.TextColor3 == Color3.fromRGB(60, 200, 60) and Color3.fromRGB(200, 60, 60) or Color3.fromRGB(60, 200, 60)
  1197.     FilterE.BorderColor3 = FilterE.TextColor3 == Color3.fromRGB(200, 60, 60) and Color3.fromRGB(100, 30, 30) or Color3.fromRGB(30, 100, 30)
  1198.     filter_events()
  1199. end
  1200.  
  1201. local onclick_ffunctions = function()
  1202.     playSound(topPress, 1)
  1203.     FilterF.TextColor3 = FilterF.TextColor3 == Color3.fromRGB(60, 200, 60) and Color3.fromRGB(200, 60, 60) or Color3.fromRGB(60, 200, 60)
  1204.     FilterF.BorderColor3 = FilterF.TextColor3 == Color3.fromRGB(200, 60, 60) and Color3.fromRGB(100, 30, 30) or Color3.fromRGB(30, 100, 30)
  1205.     filter_functions()
  1206. end
  1207.  
  1208. local Highlight = function(string, keywords)
  1209.     local K = {}
  1210.     local S = string
  1211.     local Token =
  1212.     {
  1213.         ["="] = true,
  1214.         ["."] = true,
  1215.         [","] = true,
  1216.         ["("] = true,
  1217.         [")"] = true,
  1218.         ["["] = true,
  1219.         ["]"] = true,
  1220.         ["{"] = true,
  1221.         ["}"] = true,
  1222.         [":"] = true,
  1223.         ["*"] = true,
  1224.         ["/"] = true,
  1225.         ["+"] = true,
  1226.         ["-"] = true,
  1227.         ["%"] = true,
  1228.         [";"] = true,
  1229.         ["~"] = true
  1230.     }
  1231.     for i, v in pairs(keywords) do
  1232.         K[v] = true
  1233.     end
  1234.     S = S:gsub(".", function(c)
  1235.         if Token[c] ~= nil then
  1236.             return "\32"
  1237.         else
  1238.             return c
  1239.         end
  1240.     end)
  1241.     S = S:gsub("%S+", function(c)
  1242.         if K[c] ~= nil then
  1243.             return c
  1244.         else
  1245.             return (" "):rep(#c)
  1246.         end
  1247.     end)
  1248.  
  1249.     return S
  1250. end
  1251.  
  1252. local hTokens = function(string)
  1253.     local Token =
  1254.     {
  1255.         ["="] = true,
  1256.         ["."] = true,
  1257.         [","] = true,
  1258.         ["("] = true,
  1259.         [")"] = true,
  1260.         ["["] = true,
  1261.         ["]"] = true,
  1262.         ["{"] = true,
  1263.         ["}"] = true,
  1264.         [":"] = true,
  1265.         ["*"] = true,
  1266.         ["/"] = true,
  1267.         ["+"] = true,
  1268.         ["-"] = true,
  1269.         ["%"] = true,
  1270.         [";"] = true,
  1271.         ["~"] = true
  1272.     }
  1273.     local A = ""
  1274.     string:gsub(".", function(c)
  1275.         if Token[c] ~= nil then
  1276.             A = A .. c
  1277.         elseif c == "\n" then
  1278.             A = A .. "\n"
  1279.         elseif c == "\t" then
  1280.             A = A .. "\t"
  1281.         else
  1282.             A = A .. "\32"
  1283.         end
  1284.     end)
  1285.  
  1286.     return A
  1287. end
  1288.  
  1289.  
  1290. local strings = function(string)
  1291.     local highlight = ""
  1292.     local quote = false
  1293.     string:gsub(".", function(c)
  1294.         if quote == false and c == "\"" then
  1295.             quote = true
  1296.         elseif quote == true and c == "\"" then
  1297.             quote = false
  1298.         end
  1299.         if quote == false and c == "\"" then
  1300.             highlight = highlight .. "\""
  1301.         elseif c == "\n" then
  1302.             highlight = highlight .. "\n"
  1303.         elseif c == "\t" then
  1304.             highlight = highlight .. "\t"
  1305.         elseif quote == true then
  1306.             highlight = highlight .. c
  1307.         elseif quote == false then
  1308.             highlight = highlight .. "\32"
  1309.         end
  1310.     end)
  1311.  
  1312.     return highlight
  1313. end
  1314.  
  1315. local comments = function(string)
  1316.     local ret = ""
  1317.     string:gsub("[^\r\n]+", function(c)
  1318.         local comm = false
  1319.         local i = 0
  1320.         c:gsub(".", function(n)
  1321.             i = i + 1
  1322.             if c:sub(i, i + 1) == "--" then
  1323.                 comm = true
  1324.             end
  1325.             if comm == true then
  1326.                 ret = ret .. n
  1327.             else
  1328.                 ret = ret .. "\32"
  1329.             end
  1330.         end)
  1331.         ret = ret
  1332.     end)
  1333.    
  1334.     return ret
  1335. end
  1336.  
  1337. local copy_source = function()
  1338.     playSound(topPress, 1)
  1339.     local script = ""
  1340.     local copy
  1341.     for i, v in pairs(Source:GetChildren()) do
  1342.         script = script .. v.SourceText.Text .. "\n"
  1343.     end
  1344.     if Clipboard ~= nil then
  1345.         copy = Clipboard.set
  1346.     elseif Synapse ~= nil then
  1347.         copy = function(str)
  1348.             Synapse:Copy(str)
  1349.         end
  1350.     elseif setclipboard ~= nil then
  1351.         copy = setclipboard
  1352.     end
  1353.     copy(script)
  1354. end
  1355.  
  1356. local onclick_fullscreen = function()
  1357.     playSound(openSound, BG.Size == UDim2.new(1, 0, 1, 40) and 0.9 or 1)
  1358.     BG.Draggable = BG.Size == UDim2.new(1, 0, 1, 40)
  1359.     if (BG.Size == UDim2.new(1, -300, 1, -200)) then
  1360.         last_bg_pos = BG.Position
  1361.         size_pos_frame(BG, UDim2.new(1, 0, 1, 40), UDim2.new(0, 0, 0, -40))
  1362.     else
  1363.         BG.Draggable = true
  1364.         size_pos_frame(BG, UDim2.new(1, -300, 1, -200), last_bg_pos)
  1365.     end
  1366. end
  1367.  
  1368. local filter_remotes = function(type)
  1369.     local n = 0
  1370.     if type == "Text" then
  1371.         for i, v in pairs(SetRemotes:GetChildren()) do
  1372.             if v.Name:lower():match(Search.Text:lower()) and string ~= "" then
  1373.                 v.Visible = true
  1374.                 n = n + 1
  1375.             else
  1376.                 v.Visible = false
  1377.             end
  1378.             if v.Visible == true then
  1379.                 v.Position = UDim2.new(0, 10, 0, -20 + n * 30)
  1380.             else
  1381.                 v.Position = UDim2.new(0, 10, 0, -20 + i * 30)
  1382.             end
  1383.         end
  1384.     end
  1385. end
  1386.  
  1387. local fix = function(string)
  1388.     if string == "/e fix" then
  1389.         show()
  1390.         wait(0.3)
  1391.         pos_frame(BG, UDim2.new(0.1, 0, 0.1, 0))
  1392.     end
  1393. end
  1394.  
  1395. local highlight_source = function(type)
  1396.     if type == "Text" then
  1397.         Source_.Text = Source_.Text:gsub("\13", "")
  1398.         Source_.Text = Source_.Text:gsub("\t", "      ")
  1399.         local s = Source_.Text
  1400.         Source_.Keywords_.Text = Highlight(s, lua_keywords)
  1401.         Source_.Globals_.Text = Highlight(s, global_env)
  1402.         Source_.RemoteHighlight_.Text = Highlight(s, {"FireServer", "fireServer", "InvokeServer", "invokeServer"})
  1403.         Source_.Strings_.Text = strings(s)
  1404.         Source_.Tokens_.Text = hTokens(s)
  1405.         local lin = 1
  1406.         s:gsub("\n", function()
  1407.             lin = lin + 1
  1408.         end)
  1409.         Lines.Text = ""
  1410.         for i = 1, lin do
  1411.             Lines.Text = Lines.Text .. i .. "\n"
  1412.         end
  1413.     end
  1414. end
  1415.  
  1416. highlight_source("Text")
  1417.  
  1418. local format_warn_time = function()
  1419.     local d = os.date("*t")
  1420.     local tick = tostring(tick())
  1421.     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)
  1422. end
  1423.  
  1424. local log_output = function(string, type, color)
  1425.     local out = Label:Clone()
  1426.     out.Text = (type == true and string:gsub("\t", "      ") or format_warn_time() .. " - " .. string:gsub("\t", "      "))
  1427.     out.TextColor3 = (color == nil and Color3.new(1, 1, 1) or color)
  1428.     out.Parent = lvl6Output
  1429.     out.Position = UDim2.new(0, 0, 0, -17 + #lvl6Output:GetChildren() * 17)
  1430. end
  1431.  
  1432. local load_source = function()
  1433.     playSound(topPress, 1)
  1434.     local script = ""
  1435.     for i, v in pairs(Source:GetChildren()) do
  1436.         script = script .. v.SourceText.Text .. "\n"
  1437.     end
  1438.     Source_.Text = (script == "" and (function() playSound(errorSound, 1) log_output("You haven't logged any remotes yet...", true) return "" end)() or script)
  1439.     lvl6Frame.Visible = true
  1440.     Source.Visible = false
  1441.     RemoteButtons.Visible = false
  1442.     SetRemotes.Visible = false
  1443.     SetRemotesTab.Visible = false
  1444. end
  1445.  
  1446. local output_format = function(...)
  1447.     local string = ""
  1448.     for i, v in pairs{...} do
  1449.         string = string .. tostring(v) .. "     "
  1450.     end
  1451.    
  1452.     return string
  1453. end
  1454.  
  1455. local execute_lvl6 = function()
  1456.     playSound(topPress, 1)
  1457.     local env =
  1458.     {
  1459.         print = function(...)
  1460.             output_format(...):gsub("[^\r\n]+", function(line)
  1461.                 log_output(line, false, Color3.new(1, 1, 1))
  1462.             end)
  1463.         end,
  1464.         warn = function(...)
  1465.             output_format(...):gsub("[^\r\n]+", function(line)
  1466.                 log_output(line, false, Color3.fromRGB(255, 155, 0))
  1467.             end)
  1468.         end
  1469.     }
  1470.     local func = loadstring(Source_.Text)
  1471.     assert(not (type(func) == "nil" or type(func) == "string"), "Syntax error . . . Check script!")
  1472.     spawn(setfenv(func, setmetatable(env, {__index = getfenv()})))
  1473. end
  1474.  
  1475. local clear_output = function()
  1476.     playSound(topPress, 1)
  1477.     lvl6Output:ClearAllChildren()
  1478. end
  1479.  
  1480. local context_error = function(error, trace)
  1481.     playSound(errorSound, 1)
  1482.     error:gsub("[^\r\n]+", function(line)
  1483.         log_output(line, false, Color3.new(1, 0, 0))
  1484.     end)
  1485.     trace:gsub("[^\r\n]+", function(line)
  1486.         log_output(line, false, Color3.fromRGB(0, 100, 255))
  1487.     end)
  1488. end
  1489.  
  1490. -- FrontEnd-Connections // UI Events
  1491.  
  1492. LoadSource.MouseButton1Down:Connect(load_source)
  1493. ClearOutput.MouseButton1Down:Connect(clear_output)
  1494. ExecuteScript.MouseButton1Down:Connect(execute_lvl6)
  1495. ClearScript.MouseButton1Down:Connect(clear_lvl6)
  1496. Source_.Changed:Connect(highlight_source)
  1497. Hide.MouseButton1Down:Connect(onclick_hide)
  1498. lvl6Source.Changed:Connect(onchange_lvl6source)
  1499. Resize.Changed:Connect(resize_onchange)
  1500. lvl6.MouseButton1Down:Connect(onclick_lvl6)
  1501. Settings.MouseButton1Down:Connect(onclick_settings)
  1502. ClearList.MouseButton1Down:Connect(clear_logs)
  1503. EnableSpy.MouseButton1Down:Connect(onclick_remotespy)
  1504. ToClipboard.MouseButton1Down:Connect(copy_source)
  1505. CryptStrings.MouseButton1Down:Connect(onclick_cryptstring)
  1506. FullScreen.MouseButton1Down:Connect(onclick_fullscreen)
  1507. FilterE.MouseButton1Down:Connect(onclick_fevents)
  1508. FilterF.MouseButton1Down:Connect(onclick_ffunctions)
  1509. Search.Changed:Connect(filter_remotes)
  1510. Mute.MouseButton1Down:Connect(onclick_mute)
  1511. game:GetService("Players").LocalPlayer.Chatted:Connect(fix)
  1512. game:GetService("ScriptContext").Error:Connect(context_error)
  1513.  
  1514. -- Recursive Remotefill // UI-Backend
  1515.  
  1516. Table_TS = function(T)
  1517.     local M = {}
  1518.     for i, v in pairs(T) do
  1519.         local I = "\n\t" .. (type(i) == "number" and "[" .. i .. "] = " or "[\"" .. i .. "\"] = ")
  1520.         table.insert(M, I .. (type(v) == "table" and Table_TS(v) or GetType(v)))
  1521.     end
  1522.    
  1523.     return "\n{" .. table.concat(M, ", ") .. "\n}"
  1524. end
  1525.  
  1526. function fill(base)
  1527.     for i, v in pairs(base:GetChildren()) do
  1528.         if v.ClassName:match("Remote") and v.Name ~= "CharacterSoundEvent" then
  1529.             local B = SBTN:Clone()
  1530.            
  1531.             B.Parent = SetRemotes
  1532.             B.Icon.Image = (v.ClassName == "RemoteEvent" and "rbxassetid://413369506" or "rbxassetid://413369623")
  1533.             B.RemoteName.Text = v.Name
  1534.             B.Name = v.Name
  1535.             B.Position = UDim2.new(0, 10, 0, -20 + #SetRemotes:GetChildren() * 30)
  1536.             B.MouseButton1Down:Connect(function()
  1537.                 B.Enabled.Text = B.Enabled.Text == "Enabled" and "Disabled" or "Enabled"
  1538.                 B.Enabled.TextColor3 = B.Enabled.Text == "Enabled" and Color3.fromRGB(60, 200, 60) or Color3.fromRGB(200, 60, 60)
  1539.                 B.Enabled.BorderColor3 = B.Enabled.Text == "Enabled" and Color3.fromRGB(30, 100, 30) or Color3.fromRGB(100, 30, 30)
  1540.                 playSound(disableSound, B.Enabled.Text == "Enabled" and 1 or 0.9)
  1541.                 for i, v in pairs(Remotes:GetChildren()) do
  1542.                     if (v.RemoteName.Text == B.RemoteName.Text) then
  1543.                         v.Icon.ImageColor3 = B.Enabled.Text == "Disabled" and Color3.new(1, 0, 0) or Color3.new(1, 1, 1)
  1544.                     end
  1545.                 end
  1546.             end)
  1547.         end
  1548.         fill(v)
  1549.     end
  1550. end
  1551.  
  1552. fill(game)
  1553.  
  1554. -- Backend // Remotespy Backend
  1555.  
  1556. local game_meta = getrawmetatable(game)
  1557. local game_namecall = game_meta.__namecall
  1558. local namecall_dump = {}
  1559. local current_rmt = nil
  1560. local g_caller = nil
  1561. local f_return = nil
  1562. local Step = game:GetService("RunService").Stepped
  1563. local breakloop = false
  1564. local looprunning = false
  1565.  
  1566. local mwr = function() end
  1567.  
  1568. if setreadonly ~= nil then
  1569.     mwr = function()
  1570.         setreadonly(game_meta, false)
  1571.     end
  1572. elseif make_writeable ~= nil then  
  1573.     mwr = function()
  1574.         make_writeable(game_meta)
  1575.     end
  1576. end
  1577.  
  1578. mwr()
  1579.  
  1580. local namecall_script = function(object, method, ...)
  1581.     local script = "-- Script generated by R2Sv2\n-- R2Sv2 developed by Luckyxero\n-- Remote Path: " .. GetPath(object) .. "\n\32\n"
  1582.     local args = {}
  1583.     for i, v in pairs{...} do
  1584.         script = script .. "local A_" .. i .. " = " .. (type(v) == "table" and Table_TS(v) or GetType(v)) .. "\n"
  1585.         table.insert(args, "A_" .. i)
  1586.     end
  1587.     script = script .. "local Event = " .. GetPath(object) .. "\n\n"
  1588.     script = script .. "Event:" .. method .. "(" .. table.concat(args, ", ") .. ")"
  1589.    
  1590.     return script
  1591. end
  1592.  
  1593.  
  1594. local dump_script = function(script)
  1595.     Source:ClearAllChildren()
  1596.     local lines = 0
  1597.     script:gsub("[^\r\n]+", function(c)
  1598.         lines = lines + 1
  1599.         local tabs = 0
  1600.         c:gsub("%\t", function() tabs = tabs + 1 end)
  1601.         local line = ScriptLine:Clone()
  1602.         line.Parent = Source
  1603.         line.SourceText.Text = c
  1604.         line.Line.Text = lines
  1605.         line.RemoteHighlight.Text = Highlight(c, {"FireServer", "InvokeServer", "invokeServer", "fireServer"})
  1606.         line.Position = UDim2.new(0, tabs * (17 * 2), 0, -17 + #Source:GetChildren() * 17)
  1607.         line.Globals.Text = Highlight(c, global_env)
  1608.         line.Line.Position = UDim2.new(0, 0 - tabs * (17 * 2), 0, 0)
  1609.         line.Strings.Text = strings(c)
  1610.         line.Keywords.Text = Highlight(c, lua_keywords)
  1611.         line.Tokens.Text = hTokens(c)
  1612.         line.Comments.Text = comments(c)
  1613.     end)
  1614. end
  1615.  
  1616. local log_remote = function(table)
  1617.     if SetRemotes[table.object.Name].Enabled.Text == "Disabled" then return end
  1618.     playSound(logSound, 5)
  1619.     local B = RBTN:Clone()
  1620.     g_caller = table.caller
  1621.     remotes_fired = remotes_fired + 1
  1622.     Total.Text = remotes_fired
  1623.  
  1624.     B.Parent = Remotes
  1625.     B.Position = UDim2.new(0, 10, 0, -20 + #Remotes:GetChildren() * 30)
  1626.     B.Icon.Image = table.method == "FireServer" and "rbxassetid://413369506" or "rbxassetid://413369623"
  1627.     B.RemoteName.Text = table.object.Name
  1628.     B.ID.Text = tostring(remotes_fired)
  1629.     B.MouseButton1Down:Connect(function()
  1630.         current_rmt = table.object
  1631.         playSound(topPress, 1)
  1632.         lvl6Frame.Visible = false
  1633.         SetRemotes.Visible = false
  1634.         RemoteButtons.Visible = true
  1635.         SetRemotesTab.Visible = false
  1636.         Source.Visible = true
  1637.         dump_script(table.script)
  1638.         g_caller = table.caller
  1639.         f_return = table.freturn == nil and table.object.Name .. " is not RemoteFunction" or table.freturn
  1640.     end)
  1641.     B.MouseButton2Down:Connect(function()
  1642.         local bool = B.Icon.ImageColor3 == Color3.new(1, 1, 1)
  1643.         playSound(disableSound, bool and 0.9 or 1)
  1644.         for i, v in pairs(Remotes:GetChildren()) do
  1645.             if (v.RemoteName.Text == B.RemoteName.Text) then
  1646.                 v.Icon.ImageColor3 = bool and Color3.new(1, 0, 0) or Color3.new(1, 1, 1)
  1647.             end
  1648.         end
  1649.         SetRemotes[B.RemoteName.Text].Enabled.Text = not bool and "Enabled" or "Disabled"
  1650.         SetRemotes[B.RemoteName.Text].Enabled.TextColor3 = not bool and Color3.fromRGB(60, 200, 60) or Color3.fromRGB(200, 60, 60)
  1651.         SetRemotes[B.RemoteName.Text].Enabled.BorderColor3 = not bool and Color3.fromRGB(30, 100, 30) or Color3.fromRGB(100, 30, 30)
  1652.     end)
  1653. end
  1654.  
  1655. local get_namecall_dump = function(script, object, ...)
  1656.     local Ret = nil
  1657.     if object.ClassName == "RemoteFunction" then
  1658.         local freturn = {pcall(object.InvokeServer, object, ...)}
  1659.         freturn = {select(2, unpack(freturn))}
  1660.        
  1661.         if #freturn == 0 then
  1662.             Ret = object.Name .. " is a void type RemoteFunction."
  1663.         else
  1664.             Ret = "local " .. object.Name .. "_return = " .. Table_TS(freturn)
  1665.         end
  1666.     end
  1667.     namecall_dump[#namecall_dump + 1] =
  1668.     {  
  1669.         script = namecall_script(object, object.ClassName == "RemoteEvent" and "FireServer" or "InvokeServer", ...),
  1670.         caller = script,
  1671.         object = object,
  1672.         method = object.ClassName == "RemoteEvent" and "FireServer" or "InvokeServer",
  1673.         freturn = Ret
  1674.     }
  1675. end
  1676.  
  1677. GetReturn.MouseButton1Down:Connect(function()
  1678.     dump_script(f_return)
  1679.     if (f_return:match("is not Remote")) then playSound(errorSound, 1) end
  1680. end)
  1681.  
  1682. Decompile.MouseButton1Down:Connect(function()
  1683.     playSound(topPress, 1)
  1684.     local source = decompile(g_caller)
  1685.        
  1686.     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)
  1687. end)
  1688.  
  1689. Step:Connect(function()
  1690.     while #namecall_dump > 0 do
  1691.         log_remote(table.remove(namecall_dump, 1))
  1692.     end
  1693. end)
  1694.  
  1695. local on_namecall = function(object, ...)
  1696.     local method = getnamecallmethod()
  1697.     local args = {...}
  1698.     args[#args] = nil
  1699.     if object.Name ~= "CharacterSoundEvent" and method:match("Server") and spy_enabled == true then get_namecall_dump(getfenv(2).script, object, unpack(args)) end
  1700.  
  1701.     return game_namecall(object, ...)
  1702. end
  1703.  
  1704. local onclick_refresh = function()
  1705.     playSound(topPress, 1)
  1706.     SetRemotes:ClearAllChildren()
  1707.     wait(0.2)
  1708.     fill(game)
  1709. end
  1710.  
  1711. local infloop = function()
  1712.     playSound(topPress, 1)
  1713.     local script = ""
  1714.     for i, v in pairs(Source:GetChildren()) do
  1715.         script = script .. v.SourceText.Text .. "\n"
  1716.     end
  1717.     local source = loadstring(script)
  1718.     local delay = tonumber(FireDelay.Text)
  1719.     while wait(delay) do
  1720.         source()
  1721.         if (breakloop == true) then breakloop = false break end
  1722.     end
  1723. end
  1724.  
  1725. local forloop = function()
  1726.     playSound(topPress, 1)
  1727.     local script = ""
  1728.     for i, v in pairs(Source:GetChildren()) do
  1729.         script = script .. v.SourceText.Text .. "\n"
  1730.     end
  1731.     local source = loadstring(script)
  1732.     local delay = tonumber(FireDelay.Text)
  1733.     local amount = tonumber(FireAmount.Text)
  1734.     for i = 1, amount do
  1735.         source()
  1736.         wait(delay)
  1737.         if (breakloop == true) then breakloop = false break end
  1738.         FireAmount.Text = tostring(amount - i)
  1739.     end
  1740. end
  1741.  
  1742. local fireremote = function()
  1743.     playSound(topPress, 1)
  1744.     local script = ""
  1745.     for i, v in pairs(Source:GetChildren()) do
  1746.         script = script .. v.SourceText.Text .. "\n"
  1747.     end
  1748.     loadstring(script)()
  1749. end
  1750.  
  1751. local enable_break = function() breakloop = true end
  1752.  
  1753. -- Backend Event Connections
  1754.  
  1755. FireRemote.MouseButton1Down:Connect(fireremote)
  1756. LoopFire.MouseButton1Down:Connect(forloop)
  1757. WhileLoopFire.MouseButton1Down:Connect(infloop)
  1758. Refresh.MouseButton1Down:Connect(onclick_refresh)
  1759. Break.MouseButton1Down:Connect(enable_break)
  1760. game_meta.__namecall = on_namecall
Add Comment
Please, Sign In to add comment