PacMan2009yo

RemoteSpy

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