Advertisement
Just_A_Name

another admin test

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