Advertisement
James21111222333

Fe script by srijan

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