UnknownExploiter

Remote Gui

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