Advertisement
subaru112g

command gui fe

Feb 6th, 2019
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.31 KB | None | 0 0
  1. local plr = owner
  2.  
  3. local commandgui = Instance.new("ScreenGui")
  4. local gui = Instance.new("Frame")
  5. local TextBox = Instance.new("TextBox")
  6. local TextBox_2 = Instance.new("TextBox")
  7. local TextBox_3 = Instance.new("TextBox")
  8. local TextButton = Instance.new("TextButton")
  9. local TextButton_2 = Instance.new("TextButton")
  10. local commands = Instance.new("ScrollingFrame")
  11. local TextLabel = Instance.new("TextLabel")
  12. local TextLabel_2 = Instance.new("TextLabel")
  13. local TextLabel_3 = Instance.new("TextLabel")
  14. local TextLabel_4 = Instance.new("TextLabel")
  15. local TextLabel_5 = Instance.new("TextLabel")
  16. local TextLabel_6 = Instance.new("TextLabel")
  17. local TextLabel_7 = Instance.new("TextLabel")
  18. local TextLabel_8 = Instance.new("TextLabel")
  19. local TextLabel_9 = Instance.new("TextLabel")
  20. local TextLabel_10 = Instance.new("TextLabel")
  21. local TextLabel_11 = Instance.new("TextLabel")
  22. local TextLabel_12 = Instance.new("TextLabel")
  23. local TextLabel_13 = Instance.new("TextLabel")
  24. local TextLabel_14 = Instance.new("TextLabel")
  25. local TextLabel_15 = Instance.new("TextLabel")
  26. local open = Instance.new("TextButton")
  27.  
  28. open.Parent = commandgui
  29. open.BackgroundColor3 = Color3.new(1, 1, 1)
  30. open.Position = UDim2.new(0, 0, 0, 20)
  31. open.Size = UDim2.new(0, 110, 0, 37)
  32. open.Font = Enum.Font.SourceSans
  33. open.Text = "open"
  34. open.TextSize = 14
  35. open.Visible = false
  36.  
  37. commandgui.Name = "command gui"
  38. commandgui.Parent = owner.PlayerGui
  39.  
  40. gui.Name = "gui"
  41. gui.Parent = commandgui
  42. gui.BackgroundColor3 = Color3.new(1, 1, 1)
  43. gui.Position = UDim2.new(0, 277, 0, 185)
  44. gui.Size = UDim2.new(0, 277, 0, 162)
  45.  
  46. TextBox.Parent = gui
  47. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  48. TextBox.Position = UDim2.new(0, 177, 0, 0)
  49. TextBox.Size = UDim2.new(0, 100, 0, 30)
  50. TextBox.Font = Enum.Font.SourceSans
  51. TextBox.Text = "walkspeed or player value"
  52. TextBox.TextScaled = true
  53. TextBox.TextSize = 14
  54. TextBox.TextWrapped = true
  55.  
  56. TextBox_2.Parent = gui
  57. TextBox_2.BackgroundColor3 = Color3.new(1, 1, 1)
  58. TextBox_2.Size = UDim2.new(0, 138, 0, 30)
  59. TextBox_2.Font = Enum.Font.SourceSans
  60. TextBox_2.Text = "Player"
  61. TextBox_2.TextSize = 14
  62.  
  63. TextBox_3.Parent = gui
  64. TextBox_3.BackgroundColor3 = Color3.new(1, 1, 1)
  65. TextBox_3.Position = UDim2.new(0, 0, 0, 129)
  66. TextBox_3.Size = UDim2.new(0, 236, 0, 33)
  67. TextBox_3.Font = Enum.Font.SourceSans
  68. TextBox_3.Text = "command"
  69. TextBox_3.TextSize = 14
  70.  
  71. TextButton.Parent = gui
  72. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  73. TextButton.Position = UDim2.new(0, 236, 0, 131)
  74. TextButton.Size = UDim2.new(0, 41, 0, 31)
  75. TextButton.Font = Enum.Font.SourceSans
  76. TextButton.Text = "enter"
  77. TextButton.TextScaled = true
  78. TextButton.TextSize = 14
  79. TextButton.TextWrapped = true
  80.  
  81. TextButton_2.Parent = gui
  82. TextButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
  83. TextButton_2.Position = UDim2.new(0, 0, 0, 65)
  84. TextButton_2.Size = UDim2.new(0, 277, 0, 31)
  85. TextButton_2.Font = Enum.Font.SourceSans
  86. TextButton_2.Text = "close"
  87. TextButton_2.TextScaled = true
  88. TextButton_2.TextSize = 14
  89. TextButton_2.TextWrapped = true
  90.  
  91. commands.Name = "commands"
  92. commands.Parent = commandgui
  93. commands.BackgroundColor3 = Color3.new(0, 0, 0)
  94. commands.BackgroundTransparency = 0.5
  95. commands.Position = UDim2.new(0, 0, 0, 65)
  96. commands.Size = UDim2.new(0, 143, 0, 201)
  97. commands.Visible = false
  98.  
  99. TextLabel.Parent = commands
  100. TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  101. TextLabel.BackgroundTransparency = 0.5
  102. TextLabel.Size = UDim2.new(0, 128, 0, 23)
  103. TextLabel.Font = Enum.Font.SourceSans
  104. TextLabel.Text = "sparkles"
  105. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  106. TextLabel.TextSize = 14
  107.  
  108. TextLabel_2.Parent = commands
  109. TextLabel_2.BackgroundColor3 = Color3.new(0, 0, 0)
  110. TextLabel_2.BackgroundTransparency = 0.5
  111. TextLabel_2.Position = UDim2.new(0, 0, 0, 21)
  112. TextLabel_2.Size = UDim2.new(0, 128, 0, 23)
  113. TextLabel_2.Font = Enum.Font.SourceSans
  114. TextLabel_2.Text = "fire"
  115. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  116. TextLabel_2.TextSize = 14
  117.  
  118. TextLabel_3.Parent = commands
  119. TextLabel_3.BackgroundColor3 = Color3.new(0, 0, 0)
  120. TextLabel_3.BackgroundTransparency = 0.5
  121. TextLabel_3.Position = UDim2.new(0, 0, 0, 46)
  122. TextLabel_3.Size = UDim2.new(0, 128, 0, 23)
  123. TextLabel_3.Font = Enum.Font.SourceSans
  124. TextLabel_3.Text = "walkspeed"
  125. TextLabel_3.TextColor3 = Color3.new(1, 1, 1)
  126. TextLabel_3.TextSize = 14
  127.  
  128. TextLabel_4.Parent = commands
  129. TextLabel_4.BackgroundColor3 = Color3.new(0, 0, 0)
  130. TextLabel_4.BackgroundTransparency = 0.5
  131. TextLabel_4.Position = UDim2.new(0, 0, 0, 72)
  132. TextLabel_4.Size = UDim2.new(0, 128, 0, 28)
  133. TextLabel_4.Font = Enum.Font.SourceSans
  134. TextLabel_4.Text = "unfire"
  135. TextLabel_4.TextColor3 = Color3.new(1, 1, 1)
  136. TextLabel_4.TextSize = 14
  137.  
  138. TextLabel_5.Parent = commands
  139. TextLabel_5.BackgroundColor3 = Color3.new(0, 0, 0)
  140. TextLabel_5.BackgroundTransparency = 0.5
  141. TextLabel_5.Position = UDim2.new(0, 0, 0, 101)
  142. TextLabel_5.Size = UDim2.new(0, 128, 0, 23)
  143. TextLabel_5.Font = Enum.Font.SourceSans
  144. TextLabel_5.Text = "unsparkles"
  145. TextLabel_5.TextColor3 = Color3.new(1, 1, 1)
  146. TextLabel_5.TextSize = 14
  147.  
  148. TextLabel_6.Parent = commands
  149. TextLabel_6.BackgroundColor3 = Color3.new(0, 0, 0)
  150. TextLabel_6.BackgroundTransparency = 0.5
  151. TextLabel_6.Position = UDim2.new(0, 0, 0, 125)
  152. TextLabel_6.Size = UDim2.new(0, 128, 0, 23)
  153. TextLabel_6.Font = Enum.Font.SourceSans
  154. TextLabel_6.Text = "char"
  155. TextLabel_6.TextColor3 = Color3.new(1, 1, 1)
  156. TextLabel_6.TextSize = 14
  157.  
  158. TextLabel_7.Parent = commands
  159. TextLabel_7.BackgroundColor3 = Color3.new(0, 0, 0)
  160. TextLabel_7.BackgroundTransparency = 0.5
  161. TextLabel_7.Position = UDim2.new(0, 0, 0, 151)
  162. TextLabel_7.Size = UDim2.new(0, 128, 0, 23)
  163. TextLabel_7.Font = Enum.Font.SourceSans
  164. TextLabel_7.Text = "ff"
  165. TextLabel_7.TextColor3 = Color3.new(1, 1, 1)
  166. TextLabel_7.TextSize = 14
  167.  
  168. TextLabel_8.Parent = commands
  169. TextLabel_8.BackgroundColor3 = Color3.new(0, 0, 0)
  170. TextLabel_8.BackgroundTransparency = 0.5
  171. TextLabel_8.Position = UDim2.new(0, 0, 0, 178)
  172. TextLabel_8.Size = UDim2.new(0, 128, 0, 23)
  173. TextLabel_8.Font = Enum.Font.SourceSans
  174. TextLabel_8.Text = "unff"
  175. TextLabel_8.TextColor3 = Color3.new(1, 1, 1)
  176. TextLabel_8.TextSize = 14
  177.  
  178. TextLabel_9.Parent = commands
  179. TextLabel_9.BackgroundColor3 = Color3.new(0, 0, 0)
  180. TextLabel_9.BackgroundTransparency = 0.5
  181. TextLabel_9.Position = UDim2.new(0, 0, 0, 201)
  182. TextLabel_9.Size = UDim2.new(0, 128, 0, 23)
  183. TextLabel_9.Font = Enum.Font.SourceSans
  184. TextLabel_9.Text = "noob"
  185. TextLabel_9.TextColor3 = Color3.new(1, 1, 1)
  186. TextLabel_9.TextSize = 14
  187.  
  188. TextLabel_10.Parent = commands
  189. TextLabel_10.BackgroundColor3 = Color3.new(0, 0, 0)
  190. TextLabel_10.BackgroundTransparency = 0.5
  191. TextLabel_10.Position = UDim2.new(0, 0, 0, 231)
  192. TextLabel_10.Size = UDim2.new(0, 128, 0, 23)
  193. TextLabel_10.Font = Enum.Font.SourceSans
  194. TextLabel_10.Text = "face"
  195. TextLabel_10.TextColor3 = Color3.new(1, 1, 1)
  196. TextLabel_10.TextSize = 14
  197.  
  198. TextLabel_11.Parent = commands
  199. TextLabel_11.BackgroundColor3 = Color3.new(0, 0, 0)
  200. TextLabel_11.BackgroundTransparency = 0.5
  201. TextLabel_11.Position = UDim2.new(0, 0, 0, 263)
  202. TextLabel_11.Size = UDim2.new(0, 128, 0, 23)
  203. TextLabel_11.Font = Enum.Font.SourceSans
  204. TextLabel_11.Text = "closecmds"
  205. TextLabel_11.TextColor3 = Color3.new(1, 1, 1)
  206. TextLabel_11.TextSize = 14
  207.  
  208. TextLabel_12.Parent = commands
  209. TextLabel_12.BackgroundColor3 = Color3.new(0, 0, 0)
  210. TextLabel_12.BackgroundTransparency = 0.5
  211. TextLabel_12.Position = UDim2.new(0, 0, 0, 289)
  212. TextLabel_12.Size = UDim2.new(0, 128, 0, 23)
  213. TextLabel_12.Font = Enum.Font.SourceSans
  214. TextLabel_12.Text = "removelimbs"
  215. TextLabel_12.TextColor3 = Color3.new(1, 1, 1)
  216. TextLabel_12.TextSize = 14
  217.  
  218. TextLabel_13.Parent = commands
  219. TextLabel_13.BackgroundColor3 = Color3.new(0, 0, 0)
  220. TextLabel_13.BackgroundTransparency = 0.5
  221. TextLabel_13.Position = UDim2.new(0, 0, 0, 319)
  222. TextLabel_13.Size = UDim2.new(0, 128, 0, 23)
  223. TextLabel_13.Font = Enum.Font.SourceSans
  224. TextLabel_13.Text = "removechar"
  225. TextLabel_13.TextColor3 = Color3.new(1, 1, 1)
  226. TextLabel_13.TextSize = 14
  227.  
  228. TextLabel_14.Parent = commands
  229. TextLabel_14.BackgroundColor3 = Color3.new(0, 0, 0)
  230. TextLabel_14.BackgroundTransparency = 0.5
  231. TextLabel_14.Position = UDim2.new(0, 0, 0, 350)
  232. TextLabel_14.Size = UDim2.new(0, 128, 0, 23)
  233. TextLabel_14.Font = Enum.Font.SourceSans
  234. TextLabel_14.Text = "removelegs"
  235. TextLabel_14.TextColor3 = Color3.new(1, 1, 1)
  236. TextLabel_14.TextSize = 14
  237.  
  238. TextLabel_15.Parent = commands
  239. TextLabel_15.BackgroundColor3 = Color3.new(0, 0, 0)
  240. TextLabel_15.BackgroundTransparency = 0.5
  241. TextLabel_15.Position = UDim2.new(0, 0, 0, 379)
  242. TextLabel_15.Size = UDim2.new(0, 128, 0, 23)
  243. TextLabel_15.Font = Enum.Font.SourceSans
  244. TextLabel_15.Text = "removearms"
  245. TextLabel_15.TextColor3 = Color3.new(1, 1, 1)
  246. TextLabel_15.TextSize = 14
  247.  
  248. TextButton_2.MouseButton1Down:connect(function()
  249. gui.Visible = false
  250. open.Visible = true
  251. end)
  252.  
  253. open.MouseButton1Down:connect(function()
  254. gui.Visible = true
  255. open.Visible = false
  256. end)
  257.  
  258. TextButton.MouseButton1Down:connect(function()
  259. if TextBox_3.Text == "cmds" then
  260. commands.Visible = true
  261. end
  262.  
  263. if TextBox_3.Text == "closecmds" then
  264. commands.Visible = false
  265. end
  266.  
  267. if TextBox_3.Text == "sparkles" then
  268. for _, child in pairs(game.Players:GetChildren()) do
  269. if child.ClassName == 'Player' then
  270. if child.Name == TextBox_2.Text then
  271. local spark = Instance.new("Sparkles")
  272. spark.Parent = child.Character.Torso
  273. end
  274. end
  275. end
  276. end
  277.  
  278. if TextBox_3.Text == "unsparkles" then
  279. for _, child in pairs(game.Players:GetChildren()) do
  280. if child.ClassName == 'Player' then
  281. if child.Name == TextBox_2.Text then
  282. child.Character.Torso.Sparkles:Destroy()
  283. end
  284. end
  285. end
  286. end
  287. if TextBox_3.Text == "fire" then
  288. for _, child in pairs(game.Players:GetChildren()) do
  289. if child.ClassName == 'Player' then
  290. if child.Name == TextBox_2.Text then
  291. local spark = Instance.new("Fire")
  292. spark.Parent = child.Character.Torso
  293. end
  294. end
  295. end
  296. end
  297. if TextBox_3.Text == "unfire" then
  298. for _, child in pairs(game.Players:GetChildren()) do
  299. if child.ClassName == 'Player' then
  300. if child.Name == TextBox_2.Text then
  301. child.Character.Torso.Fire:Destroy()
  302. end
  303. end
  304. end
  305. end
  306. if TextBox_3.Text == "char" then
  307. for _, child in pairs(game.Players:GetChildren()) do
  308. if child.ClassName == 'Player' then
  309. if child.Name == TextBox_2.Text then
  310. child.CharacterAppearanceId = TextBox.Text
  311. child.Character.Humanoid.Health = 0
  312. end
  313. end
  314. end
  315. end
  316. if TextBox_3.Text == "removechar" then
  317. for _, child in pairs(game.Players:GetChildren()) do
  318. if child.ClassName == 'Player' then
  319. if child.Name == TextBox_2.Text then
  320. child.Character:Destroy()
  321. end
  322. end
  323. end
  324. end
  325. if TextBox_3.Text == "removearms" then
  326. for _, child in pairs(game.Players:GetChildren()) do
  327. if child.ClassName == 'Player' then
  328. if child.Name == TextBox_2.Text then
  329. child.Character["Left Arm"]:Destroy()
  330. child.Character["Right Arm"]:Destroy()
  331. end
  332. end
  333. end
  334. end
  335. if TextBox_3.Text == "removelegs" then
  336. for _, child in pairs(game.Players:GetChildren()) do
  337. if child.ClassName == 'Player' then
  338. if child.Name == TextBox_2.Text then
  339. child.Character["Left Leg"]:Destroy()
  340. child.Character["Right Leg"]:Destroy()
  341. end
  342. end
  343. end
  344. end
  345. if TextBox_3.Text == "removelimbs" then
  346. for _, child in pairs(game.Players:GetChildren()) do
  347. if child.ClassName == 'Player' then
  348. if child.Name == TextBox_2.Text then
  349. child.Character["Left Leg"]:Destroy()
  350. child.Character["Right Leg"]:Destroy()
  351. child.Character["Left Arm"]:Destroy()
  352. child.Character["Right Arm"]:Destroy()
  353. end
  354. end
  355. end
  356. end
  357. if TextBox_3.Text == "noob" then
  358. for _, child in pairs(game.Players:GetChildren()) do
  359. if child.ClassName == 'Player' then
  360. if child.Name == TextBox_2.Text then
  361. child.Character["Body Colors"]:Destroy()
  362. child.Character.Shirt:Destroy()
  363. child.Character.Pants:Destroy()
  364. child.Character.Head.BrickColor = BrickColor.new("New Yeller")
  365. child.Character.Torso.BrickColor = BrickColor.new("Cyan")
  366. child.Character["Left Arm"].BrickColor = BrickColor.new("New Yeller")
  367. child.Character["Right Arm"].BrickColor = BrickColor.new("New Yeller")
  368. child.Character["Left Leg"].BrickColor = BrickColor.new("Lime green")
  369. child.Character["Right Leg"].BrickColor = BrickColor.new("Lime green")
  370. end
  371. end
  372. end
  373. end
  374. if TextBox_3.Text == "face" then
  375. for _, child in pairs(game.Players:GetChildren()) do
  376. if child.ClassName == 'Player' then
  377. if child.Name == TextBox_2.Text then
  378. child.Character.Head.face.Texture = TextBox.Text
  379. end
  380. end
  381. end
  382. end
  383. if TextBox_3.Text == "walkspeed" then
  384. for _, child in pairs(game.Players:GetChildren()) do
  385. if child.ClassName == 'Player' then
  386. if child.Name == TextBox_2.Text then
  387. child.Character.Humanoid.WalkSpeed = TextBox.Text
  388. end
  389. end
  390. end
  391. end
  392. if TextBox_3.Text == "ff" then
  393. for _, child in pairs(game.Players:GetChildren()) do
  394. if child.ClassName == 'Player' then
  395. if child.Name == TextBox_2.Text then
  396. local spark = Instance.new("ForceField")
  397. spark.Parent = child.Character
  398. end
  399. end
  400. end
  401. end
  402. if TextBox_3.Text == "unff" then
  403. for _, child in pairs(game.Players:GetChildren()) do
  404. if child.ClassName == 'Player' then
  405. if child.Name == TextBox_2.Text then
  406. child.Character.ForceField:Destroy()
  407. end
  408. end
  409. end
  410. end
  411. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement