ZABLAZY_Y

Untitled

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