Upscalefanatic3

Simplified RemoteSpy GUI (Bug Fix & clear ouput)

Oct 21st, 2017
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.12 KB | None | 0 0
  1. --Fixed RemoteSpy by Internecivus
  2. --Credit to Autumn for the original RemoteSpy
  3. --GUI made by AmicusVale
  4.  
  5. local TextB = 0
  6. local Position = 0
  7. local Size = 50
  8. local CSize = 2
  9. local Setting = "MessageWarning"
  10. local Parent = game.CoreGui
  11. local IndexGame = "game."
  12. local IndexRE = ":FireServer("
  13. local IndexRF = ":InvokeServer("
  14. local Structure = ""
  15. local CheckEORF = ""
  16. local Arguments = ""
  17. local ConvEORF = "nothing"
  18.  
  19. Instance.new("ScreenGui", Parent)
  20. Parent.ScreenGui.Name = "RSS"
  21.  
  22. Instance.new("TextButton", Parent.RSS)
  23. Parent.RSS.TextButton.Name = "MainFrame"
  24. Parent.RSS.MainFrame.Size = UDim2.new(0.35, 0, 0.5, 0)
  25. Parent.RSS.MainFrame.Position = UDim2.new(0.35, 0, 0.2, 0)
  26. Parent.RSS.MainFrame.Text = ""
  27. Parent.RSS.MainFrame.Draggable = true
  28. Parent.RSS.MainFrame.AutoButtonColor = false
  29. Parent.RSS.MainFrame.Style = "RobloxRoundButton"
  30.  
  31. wait(0.01)
  32. Instance.new("ScrollingFrame", Parent.RSS.MainFrame)
  33. Parent.RSS.MainFrame.ScrollingFrame.Name = "Output"
  34. Parent.RSS.MainFrame.Output.Size = UDim2.new(0.95, 0, 0.5, 0)
  35. Parent.RSS.MainFrame.Output.Position = UDim2.new(0.02, 0, 0.15, 0)
  36. Parent.RSS.MainFrame.Output.BackgroundColor3 = Color3.fromRGB(236,236,236)
  37. Parent.RSS.MainFrame.Output.BorderSizePixel = 3
  38. Parent.RSS.MainFrame.Output.CanvasSize = UDim2.new(0,0,2,0)
  39.  
  40. wait(0.01)
  41. Instance.new("TextBox", Parent.RSS.MainFrame)
  42. Parent.RSS.MainFrame.TextBox.Name = "Input"
  43. Parent.RSS.MainFrame.Input.Size = UDim2.new(0.8, 0, 0.3, 0)
  44. Parent.RSS.MainFrame.Input.Position = UDim2.new(0.1, 0, 0.68, 0)
  45. Parent.RSS.MainFrame.Input.TextWrapped = true
  46. Parent.RSS.MainFrame.Input.Text = ""
  47. Parent.RSS.MainFrame.Input.TextScaled = true
  48. Parent.RSS.MainFrame.Input.BackgroundColor3 = Color3.fromRGB(255,255,255)
  49. Parent.RSS.MainFrame.Input.TextColor3 = Color3.fromRGB(36, 84, 241)
  50. Parent.RSS.MainFrame.Input.ClearTextOnFocus = false
  51. Parent.RSS.MainFrame.Input.MultiLine = true
  52.  
  53. wait(0.01)
  54. Instance.new("TextButton", Parent.RSS.MainFrame)
  55. Parent.RSS.MainFrame.TextButton.Name = "MadeBy"
  56. Parent.RSS.MainFrame.MadeBy.Size = UDim2.new(0.6, 0, 0.15, 0)
  57. Parent.RSS.MainFrame.MadeBy.Position = UDim2.new(0.2, 0, 1.015, 0)
  58. Parent.RSS.MainFrame.MadeBy.Text = "Made by: Amicus Vale"
  59. Parent.RSS.MainFrame.MadeBy.TextSize = "20"
  60. Parent.RSS.MainFrame.MadeBy.Style = "RobloxButton"
  61. Parent.RSS.MainFrame.MadeBy.TextColor3 = Color3.fromRGB(255,255,255)
  62. Parent.RSS.MainFrame.MadeBy.AutoButtonColor = false
  63.  
  64. wait(0.01)
  65. Instance.new("TextButton", Parent.RSS.MainFrame)
  66. Parent.RSS.MainFrame.TextButton.Name = "Execute"
  67. Parent.RSS.MainFrame.Execute.Size = UDim2.new(0.25, 0, 0.15, 0)
  68. Parent.RSS.MainFrame.Execute.Position = UDim2.new(-0.02, 0, 1.015, 0)
  69. Parent.RSS.MainFrame.Execute.Text = "EXECUTE"
  70. Parent.RSS.MainFrame.Execute.TextSize = "20"
  71. Parent.RSS.MainFrame.Execute.Style = "RobloxRoundDefaultButton"
  72.  
  73. wait(0.01)
  74. Instance.new("TextButton", Parent.RSS.MainFrame)
  75. Parent.RSS.MainFrame.TextButton.Name = "Clear"
  76. Parent.RSS.MainFrame.Clear.Size = UDim2.new(0.25, 0, 0.15, 0)
  77. Parent.RSS.MainFrame.Clear.Position = UDim2.new(0.774, 0, 1.015, 0)
  78. Parent.RSS.MainFrame.Clear.Text = "CLEAR"
  79. Parent.RSS.MainFrame.Clear.TextSize = "20"
  80. Parent.RSS.MainFrame.Clear.Style = "RobloxRoundDefaultButton"
  81.  
  82. wait(0.01)
  83. Instance.new("TextButton", Parent.RSS)
  84. Parent.RSS.TextButton.Name = "Open"
  85. Parent.RSS.Open.Size = UDim2.new(0.1, 0, 0.05, 0)
  86. Parent.RSS.Open.Position = UDim2.new(0.31, 0, 0, 0)
  87. Parent.RSS.Open.Text = "OPEN GUI"
  88. Parent.RSS.Open.TextSize = "20"
  89. Parent.RSS.Open.Style = "RobloxRoundDefaultButton"
  90. Parent.RSS.Open.Visible = false
  91.  
  92. wait(0.01)
  93. Instance.new("TextButton", Parent.RSS)
  94. Parent.RSS.TextButton.Name = "Close"
  95. Parent.RSS.Close.Size = UDim2.new(0.1, 0, 0.05, 0)
  96. Parent.RSS.Close.Position = UDim2.new(0.31, 0, 0, 0)
  97. Parent.RSS.Close.Text = "CLOSE GUI"
  98. Parent.RSS.Close.TextSize = "20"
  99. Parent.RSS.Close.Style = "RobloxRoundDefaultButton"
  100.  
  101. wait(0.01)
  102. Instance.new("TextButton", Parent.RSS.MainFrame)
  103. Parent.RSS.MainFrame.TextButton.Name = "CButton"
  104. Parent.RSS.MainFrame.CButton.Size = UDim2.new(0.25, 0, 0.12, 0)
  105. Parent.RSS.MainFrame.CButton.Position = UDim2.new(0.75, 0, 0, 0)
  106. Parent.RSS.MainFrame.CButton.Text = "CONVERTER"
  107. Parent.RSS.MainFrame.CButton.TextSize = "16"
  108. Parent.RSS.MainFrame.CButton.Style = "RobloxRoundDefaultButton"
  109.  
  110. wait(0.01)
  111. Instance.new("TextButton", Parent.RSS.MainFrame)
  112. Parent.RSS.MainFrame.TextButton.Name = "COButton"
  113. Parent.RSS.MainFrame.COButton.Size = UDim2.new(0.25, 0, 0.12, 0)
  114. Parent.RSS.MainFrame.COButton.Position = UDim2.new(0, 0, 0, 0)
  115. Parent.RSS.MainFrame.COButton.Text = "clear output"
  116. Parent.RSS.MainFrame.COButton.TextSize = "16"
  117. Parent.RSS.MainFrame.COButton.Style = "RobloxRoundDefaultButton"
  118.  
  119. wait(0.01)
  120. Instance.new("Frame", Parent.RSS.MainFrame)
  121. Parent.RSS.MainFrame.Frame.Name = "SideFrame"
  122. Parent.RSS.MainFrame.SideFrame.Size = UDim2.new(0.8, 0, 1, 0)
  123. Parent.RSS.MainFrame.SideFrame.Position = UDim2.new(1.025, 0, 0, 0)
  124. Parent.RSS.MainFrame.SideFrame.BackgroundColor3 = Color3.fromRGB(0,0,0)
  125. Parent.RSS.MainFrame.SideFrame.BackgroundTransparency = 0.5
  126. Parent.RSS.MainFrame.SideFrame.BorderSizePixel = 0
  127. Parent.RSS.MainFrame.SideFrame.Visible = false
  128.  
  129. wait(0.01)
  130. Instance.new("TextBox", Parent.RSS.MainFrame.SideFrame)
  131. Parent.RSS.MainFrame.SideFrame.TextBox.Name = "Path"
  132. Parent.RSS.MainFrame.SideFrame.Path.Size = UDim2.new(0.8, 0, 0.1, 0)
  133. Parent.RSS.MainFrame.SideFrame.Path.Position = UDim2.new(0.1, 0, 0.15, 0)
  134. Parent.RSS.MainFrame.SideFrame.Path.TextWrapped = true
  135. Parent.RSS.MainFrame.SideFrame.Path.Text = ""
  136. Parent.RSS.MainFrame.SideFrame.Path.TextScaled = true
  137. Parent.RSS.MainFrame.SideFrame.Path.BackgroundColor3 = Color3.fromRGB(255,255,255)
  138. Parent.RSS.MainFrame.SideFrame.Path.TextColor3 = Color3.fromRGB(36, 84, 241)
  139. Parent.RSS.MainFrame.SideFrame.Path.ClearTextOnFocus = false
  140. Parent.RSS.MainFrame.SideFrame.Path.MultiLine = true
  141.  
  142. wait(0.01)
  143. Instance.new("TextBox", Parent.RSS.MainFrame.SideFrame)
  144. Parent.RSS.MainFrame.SideFrame.TextBox.Name = "Arg"
  145. Parent.RSS.MainFrame.SideFrame.Arg.Size = UDim2.new(0.8, 0, 0.1, 0)
  146. Parent.RSS.MainFrame.SideFrame.Arg.Position = UDim2.new(0.1, 0, 0.4, 0)
  147. Parent.RSS.MainFrame.SideFrame.Arg.TextWrapped = true
  148. Parent.RSS.MainFrame.SideFrame.Arg.Text = ""
  149. Parent.RSS.MainFrame.SideFrame.Arg.TextScaled = true
  150. Parent.RSS.MainFrame.SideFrame.Arg.BackgroundColor3 = Color3.fromRGB(255,255,255)
  151. Parent.RSS.MainFrame.SideFrame.Arg.TextColor3 = Color3.fromRGB(36, 84, 241)
  152. Parent.RSS.MainFrame.SideFrame.Arg.ClearTextOnFocus = false
  153. Parent.RSS.MainFrame.SideFrame.Arg.MultiLine = true
  154.  
  155. wait(0.01)
  156. Instance.new("TextButton", Parent.RSS.MainFrame.SideFrame)
  157. Parent.RSS.MainFrame.SideFrame.TextButton.Name = "REB"
  158. Parent.RSS.MainFrame.SideFrame.REB.Size = UDim2.new(0.1, 0, 0.12, 0)
  159. Parent.RSS.MainFrame.SideFrame.REB.Position = UDim2.new(0.22, 0, 0.55, 0)
  160. Parent.RSS.MainFrame.SideFrame.REB.Text = ""
  161. Parent.RSS.MainFrame.SideFrame.REB.TextSize = "16"
  162. Parent.RSS.MainFrame.SideFrame.REB.TextColor3 = Color3.fromRGB(255,255,255)
  163. Parent.RSS.MainFrame.SideFrame.REB.BackgroundColor3 = Color3.fromRGB(150,150,150)
  164. Parent.RSS.MainFrame.SideFrame.REB.BorderSizePixel = 0
  165.  
  166. wait(0.01)
  167. Instance.new("TextButton", Parent.RSS.MainFrame.SideFrame)
  168. Parent.RSS.MainFrame.SideFrame.TextButton.Name = "REF"
  169. Parent.RSS.MainFrame.SideFrame.REF.Size = UDim2.new(0.1, 0, 0.12, 0)
  170. Parent.RSS.MainFrame.SideFrame.REF.Position = UDim2.new(0.65, 0, 0.55, 0)
  171. Parent.RSS.MainFrame.SideFrame.REF.Text = ""
  172. Parent.RSS.MainFrame.SideFrame.REF.TextSize = "16"
  173. Parent.RSS.MainFrame.SideFrame.REF.TextColor3 = Color3.fromRGB(255,255,255)
  174. Parent.RSS.MainFrame.SideFrame.REF.BackgroundColor3 = Color3.fromRGB(150,150,150)
  175. Parent.RSS.MainFrame.SideFrame.REF.BorderSizePixel = 0
  176.  
  177. wait(0.01)
  178. Instance.new("TextButton", Parent.RSS.MainFrame.SideFrame)
  179. Parent.RSS.MainFrame.SideFrame.TextButton.Name = "Convert"
  180. Parent.RSS.MainFrame.SideFrame.Convert.Size = UDim2.new(0.25, 0, 0.12, 0)
  181. Parent.RSS.MainFrame.SideFrame.Convert.Position = UDim2.new(0.35, 0, 0.8, 0)
  182. Parent.RSS.MainFrame.SideFrame.Convert.Text = "CONVERT"
  183. Parent.RSS.MainFrame.SideFrame.Convert.TextSize = "16"
  184. Parent.RSS.MainFrame.SideFrame.Convert.Style = "RobloxRoundDefaultButton"
  185.  
  186. wait(0.01)
  187. Instance.new("TextButton", Parent.RSS.MainFrame.SideFrame)
  188. Parent.RSS.MainFrame.SideFrame.TextButton.Name = "PTitle"
  189. Parent.RSS.MainFrame.SideFrame.PTitle.Size = UDim2.new(0.25, 0, 0.12, 0)
  190. Parent.RSS.MainFrame.SideFrame.PTitle.Position = UDim2.new(0.35, 0, 0.01, 0)
  191. Parent.RSS.MainFrame.SideFrame.PTitle.Text = "Path:"
  192. Parent.RSS.MainFrame.SideFrame.PTitle.TextSize = "20"
  193. Parent.RSS.MainFrame.SideFrame.PTitle.BackgroundTransparency = 1
  194. Parent.RSS.MainFrame.SideFrame.PTitle.TextColor3 = Color3.fromRGB(255,255,255)
  195.  
  196. wait(0.01)
  197. Instance.new("TextButton", Parent.RSS.MainFrame.SideFrame)
  198. Parent.RSS.MainFrame.SideFrame.TextButton.Name = "ATitle"
  199. Parent.RSS.MainFrame.SideFrame.ATitle.Size = UDim2.new(0.25, 0, 0.12, 0)
  200. Parent.RSS.MainFrame.SideFrame.ATitle.Position = UDim2.new(0.38, 0, 0.26, 0)
  201. Parent.RSS.MainFrame.SideFrame.ATitle.Text = "Args:"
  202. Parent.RSS.MainFrame.SideFrame.ATitle.TextSize = "20"
  203. Parent.RSS.MainFrame.SideFrame.ATitle.BackgroundTransparency = 1
  204. Parent.RSS.MainFrame.SideFrame.ATitle.TextColor3 = Color3.fromRGB(255,255,255)
  205.  
  206. wait(0.01)
  207. Instance.new("TextButton", Parent.RSS.MainFrame.SideFrame)
  208. Parent.RSS.MainFrame.SideFrame.TextButton.Name = "RETitle"
  209. Parent.RSS.MainFrame.SideFrame.RETitle.Size = UDim2.new(0.25, 0, 0.15, 0)
  210. Parent.RSS.MainFrame.SideFrame.RETitle.Position = UDim2.new(0.14, 0, 0.65, 0)
  211. Parent.RSS.MainFrame.SideFrame.RETitle.Text = "RemoteEvent"
  212. Parent.RSS.MainFrame.SideFrame.RETitle.TextSize = "18"
  213. Parent.RSS.MainFrame.SideFrame.RETitle.BackgroundTransparency = 1
  214. Parent.RSS.MainFrame.SideFrame.RETitle.TextColor3 = Color3.fromRGB(255,255,255)
  215.  
  216. wait(0.01)
  217. Instance.new("TextButton", Parent.RSS.MainFrame.SideFrame)
  218. Parent.RSS.MainFrame.SideFrame.TextButton.Name = "RFTitle"
  219. Parent.RSS.MainFrame.SideFrame.RFTitle.Size = UDim2.new(0.25, 0, 0.15, 0)
  220. Parent.RSS.MainFrame.SideFrame.RFTitle.Position = UDim2.new(0.59, 0, 0.65, 0)
  221. Parent.RSS.MainFrame.SideFrame.RFTitle.Text = "RemoteFunction"
  222. Parent.RSS.MainFrame.SideFrame.RFTitle.TextSize = "18"
  223. Parent.RSS.MainFrame.SideFrame.RFTitle.BackgroundTransparency = 1
  224. Parent.RSS.MainFrame.SideFrame.RFTitle.TextColor3 = Color3.fromRGB(255,255,255)
  225.  
  226. wait(0.01)
  227. Instance.new("TextButton", Parent.RSS.MainFrame.SideFrame)
  228. Parent.RSS.MainFrame.SideFrame.TextButton.Name = "Error"
  229. Parent.RSS.MainFrame.SideFrame.Error.Size = UDim2.new(0.25, 0, 0.12, 0)
  230. Parent.RSS.MainFrame.SideFrame.Error.Position = UDim2.new(0.38, 0, 0.88, 0)
  231. Parent.RSS.MainFrame.SideFrame.Error.Text = "YOU NEED TO SELECT A REMOTE"
  232. Parent.RSS.MainFrame.SideFrame.Error.TextSize = "16"
  233. Parent.RSS.MainFrame.SideFrame.Error.BackgroundTransparency = 1
  234. Parent.RSS.MainFrame.SideFrame.Error.TextColor3 = Color3.fromRGB(255,0,0)
  235. Parent.RSS.MainFrame.SideFrame.Error.Visible = false
  236.  
  237. local enabled = {
  238. -- Set any of these objects to false to stop logging them
  239. BindableEvent = false;
  240. BindableFunction = false;
  241. RemoteEvent = true;
  242. RemoteFunction = true;
  243. }
  244.  
  245. local ignore = {
  246. -- Any remotes matching the names listed below will be ignored
  247. Event = true;
  248. }
  249.  
  250. local meta,oldmeta = getrawmetatable(game),{}
  251. for i,v in next,meta do oldmeta[i] = v end
  252. function formatargs(args,showkeys)
  253. if type(args) ~= "table" then args = {args} end
  254. if #args == 0 then return "N/A" end
  255. local strargs = {}
  256. for k,v in next,args do
  257. local argstr = ""
  258. if type(v) == "string" then
  259. argstr = "\"" .. v .. "\""
  260. elseif type(v) == "table" then
  261. argstr = "{" .. formatargs(v,true) .. "}"
  262. else
  263. argstr = tostring(v)
  264. end
  265. if showkeys and type(k) ~= "number" then
  266. table.insert(strargs,k.."="..argstr)
  267. else
  268. table.insert(strargs,argstr)
  269. end
  270. end
  271. return table.concat(strargs, ", ")
  272. end
  273. local realmethods = {}
  274. realmethods.Fire = Instance.new("BindableEvent").Fire
  275. realmethods.Invoke = Instance.new("BindableFunction").Invoke
  276. realmethods.FireServer = Instance.new("RemoteEvent").FireServer
  277. realmethods.InvokeServer = Instance.new("RemoteFunction").InvokeServer
  278. meta.__namecall = function(t,...)
  279. local args = {...}
  280. local k = args[#args]
  281. if (k == "Fire" or k == "Invoke" or k == "FireServer" or k == "InvokeServer") and (enabled[t.ClassName] and not ignore[t.Name]) then
  282. ret = oldmeta.__namecall(t,...)
  283. table.remove(args)
  284. Structure = IndexGame .. t:GetFullName()
  285. CheckEORF = t.ClassName
  286. Arguments = formatargs(args) .. ")"
  287. wait(0.05)
  288. warn(t.ClassName.." called!\nPath: "..t:GetFullName().."\n".."Args: "..formatargs(args).."\nReturn: "..formatargs(ret))
  289.  
  290. return ret
  291.  
  292. else
  293.  
  294. return oldmeta.__namecall(t,...)
  295.  
  296. end
  297. end
  298.  
  299. game:GetService("LogService").MessageOut:connect(function(Message, Type)
  300. while wait() do
  301. local wow = string.match(Message, "R%w+")
  302. if CheckEORF == "RemoteEvent" and Type == Enum.MessageType[Setting] and wow == "RemoteEvent" then
  303. TextB = TextB + 1
  304. Instance.new("TextButton", Parent.RSS.MainFrame.Output)
  305. Parent.RSS.MainFrame.Output.TextButton.Name = TextB
  306. Parent.RSS.MainFrame.Output[TextB].Size = UDim2.new(0.8, 0, 0, (Size))
  307. Parent.RSS.MainFrame.Output[TextB].Text = Structure .. IndexRE .. Arguments
  308. Parent.RSS.MainFrame.Output[TextB].TextScaled = true
  309. Parent.RSS.MainFrame.Output[TextB].BackgroundColor3 = Color3.fromRGB(171,0,0)
  310. Parent.RSS.MainFrame.Output[TextB].Font = "SciFi"
  311. Parent.RSS.MainFrame.Output[TextB].TextColor3 = Color3.fromRGB(255,255,255)
  312. CSize = CSize + 0.5
  313. Parent.RSS.MainFrame.Output.CanvasSize = UDim2.new(0, 0, (CSize), 0)
  314. Position = Position + 50
  315. Parent.RSS.MainFrame.Output[TextB].Position = UDim2.new(0.07, 0, 0, (Position))
  316. break
  317.  
  318. elseif CheckEORF == "RemoteFunction" and Type == Enum.MessageType[Setting] and wow == "RemoteFunction" then
  319. TextB = TextB + 1
  320. Instance.new("TextButton", Parent.RSS.MainFrame.Output)
  321. Parent.RSS.MainFrame.Output.TextButton.Name = TextB
  322. Parent.RSS.MainFrame.Output[TextB].Size = UDim2.new(0.8, 0, 0, (Size))
  323. Parent.RSS.MainFrame.Output[TextB].Text = Structure .. IndexRF .. Arguments
  324. Parent.RSS.MainFrame.Output[TextB].TextScaled = true
  325. Parent.RSS.MainFrame.Output[TextB].BackgroundColor3 = Color3.fromRGB(171,0,0)
  326. Parent.RSS.MainFrame.Output[TextB].Font = "SciFi"
  327. Parent.RSS.MainFrame.Output[TextB].TextColor3 = Color3.fromRGB(255,255,255)
  328. CSize = CSize + 0.5
  329. Parent.RSS.MainFrame.Output.CanvasSize = UDim2.new(0, 0, (CSize), 0)
  330. Position = Position + 50
  331. Parent.RSS.MainFrame.Output[TextB].Position = UDim2.new(0.07, 0, 0, (Position))
  332. break
  333.  
  334. end
  335. end
  336. end)
  337.  
  338. Parent.RSS.MainFrame.Output.ChildAdded:connect(function(c)
  339. if c:IsA("TextButton") then
  340. c.MouseButton1Down:connect(function()
  341. Parent.RSS.MainFrame.Input.Text = Parent.RSS.MainFrame.Input.Text .. " " .. c.Text
  342. end)
  343. end
  344. end)
  345.  
  346. Parent.RSS.MainFrame.Execute.MouseButton1Down:connect(function()
  347. loadstring(Parent.RSS.MainFrame.Input.Text)()
  348. end)
  349.  
  350. Parent.RSS.MainFrame.Clear.MouseButton1Down:connect(function()
  351. Parent.RSS.MainFrame.Input.Text = ""
  352. end)
  353.  
  354. Parent.RSS.Close.MouseButton1Down:connect(function()
  355. Parent.RSS.Close.Visible = false
  356. Parent.RSS.MainFrame.Visible = false
  357. Parent.RSS.Open.Visible = true
  358. end)
  359.  
  360. Parent.RSS.Open.MouseButton1Down:connect(function()
  361. Parent.RSS.Open.Visible = false
  362. Parent.RSS.MainFrame.Visible = true
  363. Parent.RSS.Close.Visible = true
  364. end)
  365.  
  366.  
  367. Parent.RSS.MainFrame.CButton.MouseButton1Down:connect(function()
  368. if Parent.RSS.MainFrame.SideFrame.Visible == false then
  369. Parent.RSS.MainFrame.SideFrame.Visible = true
  370. else
  371. Parent.RSS.MainFrame.SideFrame.Visible = false
  372. end
  373. end)
  374.  
  375. Parent.RSS.MainFrame.SideFrame.REB.MouseButton1Down:connect(function()
  376. if Parent.RSS.MainFrame.SideFrame.REF.Text ~= "X" and Parent.RSS.MainFrame.SideFrame.REB.Text == "" then
  377. Parent.RSS.MainFrame.SideFrame.REB.Text = "X"
  378. ConvEORF = ":FireServer("
  379. elseif
  380. Parent.RSS.MainFrame.SideFrame.REB.Text == "X"
  381. then
  382. Parent.RSS.MainFrame.SideFrame.REB.Text = ""
  383. ConvEORF = "nothing"
  384. end
  385. end)
  386.  
  387. Parent.RSS.MainFrame.SideFrame.REF.MouseButton1Down:connect(function()
  388. if Parent.RSS.MainFrame.SideFrame.REB.Text ~= "X" and Parent.RSS.MainFrame.SideFrame.REF.Text == "" then
  389. Parent.RSS.MainFrame.SideFrame.REF.Text = "X"
  390. ConvEORF = ":InvokeServer("
  391. elseif
  392. Parent.RSS.MainFrame.SideFrame.REF.Text == "X"
  393. then
  394. Parent.RSS.MainFrame.SideFrame.REF.Text = ""
  395. ConvEORF = "nothing"
  396. end
  397. end)
  398.  
  399. Parent.RSS.MainFrame.SideFrame.Convert.MouseButton1Down:connect(function()
  400. if ConvEORF == "nothing" then
  401. Parent.RSS.MainFrame.SideFrame.Error.Visible = true
  402. wait(2)
  403. Parent.RSS.MainFrame.SideFrame.Error.Visible = false
  404. else
  405. Parent.RSS.MainFrame.Input.Text = Parent.RSS.MainFrame.Input.Text .. " " .. IndexGame .. Parent.RSS.MainFrame.SideFrame.Path.Text .. ConvEORF.. Parent.RSS.MainFrame.SideFrame.Arg.Text .. ")"
  406. end
  407. end)
  408.  
  409. Parent.RSS.MainFrame.COButton.MouseButton1Down:connect(function()
  410. for index, buttons in pairs(Parent.RSS.MainFrame.Output:GetChildren()) do
  411. (buttons):remove()
  412. Position = 0
  413. TextB = 0
  414. Parent.RSS.MainFrame.Output.CanvasSize = UDim2.new(0, 0, 2, 0)
  415. CSize = 2
  416. end
  417. end)
Add Comment
Please, Sign In to add comment