Advertisement
Guest User

Untitled

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