Advertisement
Cobey25

Remotespy

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