Advertisement
Drewiscool123

Admin Gui

Jul 26th, 2018
455
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.55 KB | None | 0 0
  1. owner = "drew11pogi" --who is this player? you'll never know!
  2. Player = nil
  3. megui = game.Players:FindFirstChild(owner).PlayerGui
  4. reload = true
  5. reload2 = true
  6. local sg = Instance.new("ScreenGui")
  7. sg.Parent = megui
  8. sg.Name = "test"
  9. while true do
  10. if reload == true then
  11. if megui.test ~= nil then
  12. ss = sg:GetChildren()
  13. for t = 1,#ss do
  14. ss[t]:remove()
  15. end
  16. w = game.Players:GetChildren()
  17. for i = 1,#w do
  18. local box = Instance.new("TextButton")
  19. box.Parent = sg
  20. box.Position = UDim2.new(0,0,0,i*40)
  21. box.Size = UDim2.new(0,40,0,40)
  22. box.BackgroundTransparency = .25
  23. box.Text = w[i].Name
  24. function Click()
  25. Player = game.Players:FindFirstChild(box.Text)
  26. opt = Instance.new("TextButton")
  27. opt.Parent = sg
  28. opt.Position = UDim2.new(0,40,0,80)
  29. opt.Size = UDim2.new(0,40,0,40)
  30. opt.BackgroundTransparency = .25
  31. opt.Text = "Kick"
  32. opt3 = Instance.new("TextButton")
  33. opt3.Parent = sg
  34. opt3.Position = UDim2.new(0,40,0,400)
  35. opt3.Size = UDim2.new(0,40,0,40)
  36. opt3.BackgroundTransparency = .25
  37. opt3.Text = "Cancel"
  38. opt4 = Instance.new("TextButton")
  39. opt4.Parent = sg
  40. opt4.Position = UDim2.new(0,40,0,160)
  41. opt4.Size = UDim2.new(0,40,0,40)
  42. opt4.BackgroundTransparency = .25
  43. opt4.Text = "FFOFF"
  44. opt5 = Instance.new("TextButton")
  45. opt5.Parent = sg
  46. opt5.Position = UDim2.new(0,40,0,200)
  47. opt5.Size = UDim2.new(0,40,0,40)
  48. opt5.BackgroundTransparency = .25
  49. opt5.Text = "Kill"
  50. opt6 = Instance.new("TextButton")
  51. opt6.Parent = sg
  52. opt6.Position = UDim2.new(0,40,0,240)
  53. opt6.Size = UDim2.new(0,40,0,40)
  54. opt6.BackgroundTransparency = .25
  55. opt6.Text = "SuperJump"
  56. opt7 = Instance.new("TextButton")
  57. opt7.Parent = sg
  58. opt7.Position = UDim2.new(0,40,0,280)
  59. opt7.Size = UDim2.new(0,40,0,40)
  60. opt7.BackgroundTransparency = .25
  61. opt7.Text = "Normal Jump"
  62. opt8 = Instance.new("TextButton")
  63. opt8.Parent = sg
  64. opt8.Position = UDim2.new(0,40,0,320)
  65. opt8.Size = UDim2.new(0,40,0,40)
  66. opt8.BackgroundTransparency = .25
  67. opt8.Text = "Zombify"
  68. opt9 = Instance.new("TextButton")
  69. opt9.Parent = sg
  70. opt9.Position = UDim2.new(0,40,0,360)
  71. opt9.Size = UDim2.new(0,40,0,40)
  72. opt9.BackgroundTransparency = .25
  73. opt9.Text = "GiveBTools"
  74. opt10 = Instance.new("TextButton")
  75. opt10.Parent = sg
  76. opt10.Position = UDim2.new(0,80,0,80)
  77. opt10.Size = UDim2.new(0,40,0,40)
  78. opt10.BackgroundTransparency = .25
  79. opt10.Text = "Teleport/Me"
  80. opt11 = Instance.new("TextButton")
  81. opt11.Parent = sg
  82. opt11.Position = UDim2.new(0,80,0,120)
  83. opt11.Size = UDim2.new(0,40,0,40)
  84. opt11.BackgroundTransparency = .25
  85. opt11.Text = "Teleport/Plyr"
  86. opt12 = Instance.new("TextButton")
  87. opt12.Parent = sg
  88. opt12.Position = UDim2.new(0,80,0,160)
  89. opt12.Size = UDim2.new(0,40,0,40)
  90. opt12.BackgroundTransparency = .25
  91. opt12.Text = "Make Plane!"
  92. opt13 = Instance.new("ImageLabel")
  93. opt13.Parent = sg
  94. opt13.Position = UDim2.new(0,40,0,440)
  95. opt13.Size = UDim2.new(0,80,0,90)
  96. opt13.BackgroundTransparency = .25
  97. opt13.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username="..Player.Name
  98. opt14 = Instance.new("TextButton")
  99. opt14.Parent = sg
  100. opt14.Position = UDim2.new(0,80,0,200)
  101. opt14.Size = UDim2.new(0,40,0,40)
  102. opt14.BackgroundTransparency = .25
  103. opt14.Text = "Hide"
  104. opt15 = Instance.new("TextButton")
  105. opt15.Parent = sg
  106. opt15.Position = UDim2.new(0,80,0,240)
  107. opt15.Size = UDim2.new(0,40,0,40)
  108. opt15.BackgroundTransparency = .25
  109. opt15.Text = "Frz"
  110. opt16 = Instance.new("TextButton")
  111. opt16.Parent = sg
  112. opt16.Position = UDim2.new(0,80,0,280)
  113. opt16.Size = UDim2.new(0,40,0,40)
  114. opt16.BackgroundTransparency = .25
  115. opt16.Text = "UnFrz"
  116. function Click5()
  117. reload = true
  118. end
  119. function Click3()
  120. if Player.Character.ForceField ~= nil then
  121. Player.Character.ForceField:remove()
  122. end
  123. end
  124. function Click2()
  125. reload = true
  126. Player:remove()
  127. end
  128. function Click4()
  129. ff = Instance.new("ForceField")
  130. ff.Parent = Player.Character
  131. end
  132. function Click6()
  133. Player.Character:BreakJoints()
  134. end
  135. function Click9()
  136. if Player.Character ~= nil then
  137. local torso = Player.Character:FindFirstChild("Torso")
  138. if torso ~= nil then
  139. local arm = Player.Character:FindFirstChild("Left Arm")
  140. if arm ~= nil then
  141. arm:remove()
  142. end
  143. local arm = Player.Character:FindFirstChild("Right Arm")
  144. if arm ~= nil then
  145. arm:remove()
  146. end
  147. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  148. local zarm = Instance.new("Part")
  149. zarm.Color = Color3.new(0.631373, 0.768627, 0.545098)
  150. zarm.Locked = true
  151. zarm.formFactor = "Symmetric"
  152. zarm.Size = Vector3.new(2,1,1)
  153. zarm.TopSurface = "Smooth"
  154. zarm.BottomSurface = "Smooth"
  155. zarm.Name = "zarm"
  156. local zarm2 = zarm:clone()
  157. zarm2.CFrame = torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  158. zarm.CFrame = torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  159. zarm.Parent = Player.Character
  160. zarm:MakeJoints()
  161. zarm2.Parent = Player.Character
  162. zarm2:MakeJoints()
  163. local head = Player.Character:FindFirstChild("Head")
  164. if head ~= nil then
  165. head.Color = Color3.new(0.631373, 0.768627, 0.545098)
  166. end
  167. end
  168. end
  169. end
  170. function Click7()
  171. bb = Instance.new("BodyForce")
  172. bb.Parent = Player.Character.Torso
  173. force = Vector3.new(0,2500,0)
  174. bb.force = force
  175. bb.Name = "Force"
  176. ssg = Instance.new("ScreenGui")
  177. ssg.Parent = Player.PlayerGui
  178. ssg.Name = "test"
  179. optss1 = Instance.new("TextButton")
  180. optss1.Parent = ssg
  181. optss1.Position = UDim2.new(0,220,0,220)
  182. optss1.Size = UDim2.new(0,40,0,40)
  183. optss1.BackgroundTransparency = .25
  184. optss1.Text = "Increase SuperJump"
  185. optss3 = Instance.new("TextButton")
  186. optss3.Parent = ssg
  187. optss3.Position = UDim2.new(0,220,0,260)
  188. optss3.Size = UDim2.new(0,40,0,40)
  189. optss3.BackgroundTransparency = .25
  190. optss3.Text = "Lower SuperJump"
  191. function Clickss1()
  192. bb.force = bb.force + Vector3.new(0,250,0)
  193. end
  194. function Clickss2()
  195. bb.force = bb.force + Vector3.new(0,-250,0)
  196. end
  197. optss1.MouseButton1Down:connect(Clickss1)
  198. optss3.MouseButton1Down:connect(Clickss2)
  199. end
  200. function Click8()
  201. if Player.Character.Torso.Force ~= nil then
  202. Player.Character.Torso.Force:remove()
  203. end
  204. end
  205. function Click10()
  206. t1 = Instance.new("HopperBin")
  207. t1.Parent = Player.Backpack
  208. t1.BinType = "GameTool"
  209. t2 = Instance.new("HopperBin")
  210. t2.Parent = Player.Backpack
  211. t2.BinType = "Clone"
  212. t3 = Instance.new("HopperBin")
  213. t3.Parent = Player.Backpack
  214. t3.BinType = "Hammer"
  215. end
  216. function Click11()
  217. Player.Character:MoveTo(game.Players[owner].Character.Head.Position)
  218. end
  219. function Click12()
  220. game.Players[owner].Character:MoveTo(Player.Character.Head.Position)
  221. end
  222. function Click13()
  223. vip = Player
  224. script.Name = "PLANE"
  225. drop = false
  226. ss = Instance.new("Model")
  227. ss.Parent = game.workspace
  228. ss.Name = Player.Name
  229. a = Instance.new("Model")
  230. a.Parent = ss
  231. a.Name = "Plane"
  232. b = Instance.new("Part")
  233. b.Parent = a
  234. b.Name = "Head"
  235. b.Size = Vector3.new(15,3,15)
  236. b.Locked = true
  237. c = Instance.new("Part")
  238. c.Parent = a
  239. c.Name = "Torso"
  240. c.Locked = true
  241. c.Transparency = 1
  242. d = Instance.new("Snap")
  243. d.Parent = c
  244. d.Part0 = c
  245. d.Part1 = b
  246. e = Instance.new("Humanoid")
  247. e.Parent = a
  248. f = Instance.new("SpecialMesh")
  249. f.Parent = b
  250. f.MeshType = "FileMesh"
  251. f.MeshId = "http://www.roblox.com/asset/?id=20626798"
  252. f.TextureId = "http://www.roblox.com/asset/?id=20626793"
  253. f.Scale = Vector3.new(15,15,15)
  254. s = Instance.new("Seat")
  255. s.Parent = a
  256. s.Position = b.Position + Vector3.new(0,1,0)
  257. vip.Character = a
  258. a:MoveTo(Vector3.new(10,12,0))
  259. vip.Character.Humanoid.WalkSpeed = 100
  260. bb = Instance.new("BodyForce")
  261. bb.Parent = vip.Character.Torso
  262. mass = b:GetMass()
  263. cmass = c:GetMass()
  264. smass = s:GetMass()
  265. force = Vector3.new(0,mass*196.27,0) + Vector3.new(0,cmass*196,0) + Vector3.new(0,smass*30,0)
  266. bb.force = force
  267. sgs = Instance.new("ScreenGui")
  268. sgs.Parent = vip.PlayerGui
  269. sgs.Name = "test"
  270. opts1 = Instance.new("TextButton")
  271. opts1.Parent = sgs
  272. opts1.Position = UDim2.new(0.50,0,0.9,0)
  273. opts1.Size = UDim2.new(0,40,0,40)
  274. opts1.BackgroundTransparency = .25
  275. opts1.Text = "Land"
  276. opts2 = Instance.new("TextButton")
  277. opts2.Parent = sgs
  278. opts2.Position = UDim2.new(0.50,0,0.95,0)
  279. opts2.Size = UDim2.new(0,40,0,40)
  280. opts2.BackgroundTransparency = .25
  281. opts2.Text = "Fly"
  282. opts3 = Instance.new("TextButton")
  283. opts3.Parent = sgs
  284. opts3.Position = UDim2.new(0.47,0,0.95,0)
  285. opts3.Size = UDim2.new(0,40,0,40)
  286. opts3.BackgroundTransparency = .25
  287. opts3.Text = "+"
  288. opts4 = Instance.new("TextButton")
  289. opts4.Parent = sgs
  290. opts4.Position = UDim2.new(0.53,0,0.95,0)
  291. opts4.Size = UDim2.new(0,40,0,40)
  292. opts4.BackgroundTransparency = .25
  293. opts4.Text = "-"
  294. function Clicks()
  295. bb.Parent = c
  296. end
  297. function Clicks1()
  298. bb.Parent = game.Lighting
  299. end
  300. function Clicks2()
  301. bb.force = bb.force + Vector3.new(0,500,0)
  302. end
  303. function Clicks3()
  304. bb.force = bb.force - Vector3.new(0,500,0)
  305. end
  306. opts4.MouseButton1Down:connect(Clicks3)
  307. opts3.MouseButton1Down:connect(Clicks2)
  308. opts1.MouseButton1Down:connect(Clicks1)
  309. opts2.MouseButton1Down:connect(Clicks)
  310. function onChatted(msg)
  311. if (string.sub(msg,1,9) == "flyspeed/") then
  312. t = string.sub(msg,10,1000)
  313. e.WalkSpeed = t
  314. end
  315. if (string.sub(msg,1,13) == "adjustweight/") then
  316. t = string.sub(msg,14,1000)
  317. bb.force = bb.force + Vector3.new(0,t,0)
  318. end
  319. if (string.sub(msg,1,12) == "resetweight/") then
  320. t = string.sub(msg,13,1000)
  321. bb.force = force
  322. end
  323. if (string.sub(msg,1,6) == "hover/") then
  324. t = string.sub(msg,13,1000)
  325. force = Vector3.new(0,mass*196.177,0) + Vector3.new(0,cmass*196,0) + Vector3.new(0,smass*196.21,0)
  326. bb.force = force
  327. end
  328. if (string.sub(msg,1,7) == "rhover/") then
  329. t = string.sub(msg,13,1000)
  330. force = Vector3.new(0,mass*196.26,0) + Vector3.new(0,cmass*196,0) + Vector3.new(0,smass*30,0)
  331. bb.force = force
  332. end
  333. if msg == "b" then
  334. drop = true
  335. end
  336. end
  337. vip.Chatted:connect(onChatted)
  338. while true do
  339. if drop == true then
  340. bomb = Instance.new("Part")
  341. bomb.Shape = "Ball"
  342. bomb.Parent = workspace
  343. bomb.Position = b.Position + Vector3.new(0,-5,0)
  344. function onTouch(part)
  345. if part.Parent ~= a then
  346. bbx = Instance.new("Explosion")
  347. bbx.Parent = game.workspace
  348. bbx.BlastRadius = 12312756
  349. bbx.Position = bomb.Position
  350. bomb:remove()
  351. end
  352. end
  353. bomb.Touched:connect(onTouch)
  354. end
  355. drop = false
  356. wait()
  357. end
  358. while true do
  359. wait(1)
  360. end
  361. end
  362. function Click14()
  363. opta = Instance.new("TextButton")
  364. opta.Parent = sg
  365. opta.Position = UDim2.new(0,120,0,240)
  366. opta.Size = UDim2.new(0,40,0,40)
  367. opta.BackgroundTransparency = .25
  368. opta.Text = "Lighting"
  369. opt1a = Instance.new("TextButton")
  370. opt1a.Parent = sg
  371. opt1a.Position = UDim2.new(0,120,0,280)
  372. opt1a.Size = UDim2.new(0,40,0,40)
  373. opt1a.BackgroundTransparency = .25
  374. opt1a.Text = "nil"
  375. opta1 = Instance.new("TextButton")
  376. opta1.Parent = sg
  377. opta1.Position = UDim2.new(0,120,0,320)
  378. opta1.Size = UDim2.new(0,40,0,40)
  379. opta1.BackgroundTransparency = .25
  380. opta1.Text = "Workspace"
  381. cancel = Instance.new("TextButton")
  382. cancel.Parent = sg
  383. cancel.Position = UDim2.new(0,120,0,360)
  384. cancel.Size = UDim2.new(0,40,0,40)
  385. cancel.BackgroundTransparency = .25
  386. cancel.Text = "Cancel"
  387. function Clicksa()
  388. Player.Character.Parent = game.Lighting
  389. end
  390. function Clicksa1()
  391. Player.Character.Parent = nil
  392. end
  393. function unHide()
  394. Player.Character.Parent = game.workspace
  395. end
  396. function cancels()
  397. opta1:remove()
  398. opta:remove()
  399. opt1a:remove()
  400. cancel:remove()
  401. end
  402. opta1.MouseButton1Down:connect(unHide)
  403. opta.MouseButton1Down:connect(Clicksa)
  404. opt1a.MouseButton1Down:connect(Clicksa1)
  405. cancel.MouseButton1Down:connect(cancels)
  406. end
  407. function Click15()
  408. Player.Character.Head.Anchored = true
  409. Player.Character.Head.Transparency = 0.4
  410. end
  411. function Click16()
  412. Player.Character.Head.Anchored = false
  413. Player.Character.Head.Transparency = 0
  414. end
  415. opt16.MouseButton1Down:connect(Click16)
  416. opt15.MouseButton1Down:connect(Click15)
  417. opt14.MouseButton1Down:connect(Click14)
  418. opt12.MouseButton1Down:connect(Click13)
  419. opt11.MouseButton1Down:connect(Click12)
  420. opt10.MouseButton1Down:connect(Click11)
  421. opt9.MouseButton1Down:connect(Click10)
  422. opt8.MouseButton1Down:connect(Click9)
  423. opt7.MouseButton1Down:connect(Click8)
  424. opt6.MouseButton1Down:connect(Click7)
  425. opt4.MouseButton1Down:connect(Click3)
  426. opt3.MouseButton1Down:connect(Click5)
  427. opt.MouseButton1Down:connect(Click2)
  428. opt5.MouseButton1Down:connect(Click6)
  429. opt2 = Instance.new("TextButton")
  430. opt2.Parent = sg
  431. opt2.Position = UDim2.new(0,40,0,120)
  432. opt2.Size = UDim2.new(0,40,0,40)
  433. opt2.BackgroundTransparency = .25
  434. opt2.Text = "FFON"
  435. opt2.MouseButton1Down:connect(Click4)
  436. end
  437. box.MouseButton1Down:connect(Click)
  438. end
  439.  
  440. reload = false
  441. end
  442. end
  443. wait()
  444. end
  445. while true do
  446. wait(1)
  447. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement