Advertisement
Super_Nagga

Untitled

Apr 28th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.63 KB | None | 0 0
  1. xxxx = true
  2. band = true
  3. rock = true
  4. function MakeGui(plr) -- Credits to rocket12211 For creating this script! R6 Supported only!
  5. Owner = "KlarcDecoy" -- Typing in an invalid player will lead to a massive problem!
  6. if game.Players[Owner].PlayerGui:FindFirstChild("AdminGui V1") then
  7. game.Players[Owner].PlayerGui["AdminGui V1"]:Destroy()
  8. end
  9. local S = Instance.new("ScreenGui",game.Players[Owner].PlayerGui)
  10. S.ResetOnSpawn = false
  11. S.Name = "AdminGui V1"
  12. local F = frame("Frame",S)
  13. local T1 = textBox("Player Name",UDim2.new(0, 218,0, 9),F)
  14. local T2 = textBox("Number/Code",UDim2.new(0, 218,0, 61),F)
  15.  
  16. local b1 = textButton("FF",UDim2.new(0, 7,0, 4),F)
  17. b1.MouseButton1Down:Connect(function()
  18. local p= findPlayer(T1.Text)
  19. if (p~=nil) then
  20. if (p.Character) then
  21. Instance.new("ForceField",p.Character)
  22. end
  23. end
  24. end)
  25. local b2 = textButton("UNFF",UDim2.new(0, 8,0, 55),F)
  26. b2.MouseButton1Down:Connect(function()
  27. local p = findPlayer(T1.Text)
  28. if (p~=nil) then
  29. if (p.Character) then
  30. for _,v in pairs (p.Character:GetChildren()) do
  31. if (v:IsA("ForceField")) then
  32. v:Destroy()
  33. end
  34. end
  35. end
  36. end
  37. end)
  38.  
  39. local b3 = textButton("WalkSpeed",UDim2.new(0, 7,0, 110),F)
  40. b3.MouseButton1Down:Connect(function()
  41. local p = findPlayer(T1.Text)
  42. if (p~=nil) then
  43. if (p.Character) then
  44. p.Character.Humanoid.WalkSpeed = T2.Text
  45. end
  46. end
  47. end)
  48.  
  49. local b4 = textButton("JumpPower",UDim2.new(0, 9,0, 168),F)
  50. b4.MouseButton1Down:Connect(function()
  51. local p = findPlayer(T1.Text)
  52. if (p~=nil) then
  53. if (p.Character) then
  54. p.Character.Humanoid.JumpPower = T2.Text
  55. end
  56. end
  57. end)
  58.  
  59. local b5 = textButton("Chat",UDim2.new(0, 8,0, 225),F)
  60. b5.MouseButton1Down:Connect(function()
  61. local p = findPlayer(T1.Text)
  62. if (p~=nil) then
  63. if (p.Character) then
  64. game:GetService"Chat":Chat(p.Character.Head,(T2.Text))
  65. end
  66. end
  67. end)
  68.  
  69. local b6 = textButton("Gravity",UDim2.new(0, 112,0, 4),F)
  70. b6.MouseButton1Down:Connect(function()
  71. game.Workspace.Gravity = T2.Text
  72. end)
  73.  
  74. local b7 = textButton("SetHealth",UDim2.new(0, 111,0, 55),F)
  75. b7.MouseButton1Down:Connect(function()
  76. local p = findPlayer(T1.Text)
  77. if (p~=nil) then
  78. if (p.Character) then
  79. p.Character.Humanoid.Health = T2.Text
  80. end
  81. end
  82. end)
  83.  
  84. local b7 = textButton("MaxHealth",UDim2.new(0, 111,0, 110),F)
  85. b7.MouseButton1Down:Connect(function()
  86. local p = findPlayer(T1.Text)
  87. if (p~=nil) then
  88. if (p.Character) then
  89. p.Character.Humanoid.MaxHealth = T2.Text
  90. end
  91. end
  92. end)
  93.  
  94. local b8 = textButton("HipHeight",UDim2.new(0, 111,0, 169),F)
  95. b8.MouseButton1Down:Connect(function()
  96. local p = findPlayer(T1.Text)
  97. if (p~=nil) then
  98. if (p.Character) then
  99. p.Character.Humanoid.HipHeight = T2.Text
  100. end
  101. end
  102. end)
  103.  
  104. local b9 = textButton("Kick",UDim2.new(0, 110,0, 223),F)
  105. b9.MouseButton1Down:Connect(function()
  106. local p = findPlayer(T1.Text)
  107. if (p~=nil) then
  108. if (p.Character) then
  109. p.Character.Parent = game
  110. end
  111. end
  112. end)
  113.  
  114. local b10 = textButton("Explode",UDim2.new(0, 9,0, 279),F)
  115. b10.MouseButton1Down:Connect(function()
  116. local p = findPlayer(T1.Text)
  117. if (p~=nil) then
  118. if (p.Character) then
  119. local boo = Instance.new("Explosion",p.Character) boo.Position = p.Character.Torso.Position or p.Character.LowerTorso.Position
  120. end
  121. end
  122. end)
  123.  
  124. local b11 = textButton("Punish",UDim2.new(0, 213,0, 110),F)
  125. b11.MouseButton1Down:Connect(function()
  126. local p = findPlayer(T1.Text)
  127. if (p~=nil) then
  128. if (p.Character) then
  129. p.Character.Parent = game.Lighting
  130. end
  131. end
  132. end)
  133.  
  134. local b12 = textButton("Unpunish",UDim2.new(0, 316,0, 111),F)
  135. b12.MouseButton1Down:Connect(function()
  136. local p = findPlayer(T1.Text)
  137. if (p~=nil) then
  138. if (p.Character) then
  139. p.Character.Parent = game.Workspace
  140. end
  141. end
  142. end)
  143.  
  144. local b13 = textButton("Teleport",UDim2.new(0, 212,0, 170),F)
  145. b13.MouseButton1Down:Connect(function()
  146. local p = findPlayer(T1.Text)
  147. local p2 = findPlayer(T2.Text)
  148. if (p~=nil) and (p2~=nil) then
  149. if (p.Character) and (p2.Character) then
  150. p.Character.Torso.CFrame = p2.Character.Torso.CFrame
  151. end
  152. end
  153. end)
  154.  
  155. local b14 = textButton("Fire",UDim2.new(0, 313,0, 170),F)
  156. b14.MouseButton1Down:Connect(function()
  157. local p = findPlayer(T1.Text)
  158. if (p~=nil) then
  159. if (p.Character) then
  160. local firef = Instance.new("Fire",p.Character.Torso)
  161. wait(1)
  162. p.Character.Humanoid.Health = p.Character.Humanoid.Health - 30
  163. wait(1)
  164. firef:Destroy()
  165. end
  166. end
  167. end)
  168.  
  169. local b15 = textButton("Sparkles",UDim2.new(0, 213,0, 223),F)
  170. b15.MouseButton1Down:Connect(function()
  171. p = findPlayer(T1.Text)
  172. if (p~=nil) then
  173. if (p.Character) then
  174. Instance.new("Sparkles",p.Character.Torso)
  175. end
  176. end
  177. end)
  178.  
  179. local b16 = textButton("UnSparkles",UDim2.new(0, 314,0, 223),F)
  180. b16.MouseButton1Down:Connect(function()
  181. p = findPlayer(T1.Text)
  182. if (p~=nil) then
  183. if (p.Character) then
  184. p.Character.Torso.Sparkles:Destroy()
  185. end
  186. end
  187. end)
  188.  
  189. local b17 = textButton("Stun",UDim2.new(0, 108,0, 279),F)
  190. b17.MouseButton1Down:Connect(function()
  191. local p = findPlayer(T1.Text)
  192. if (p~=nil) then
  193. if (p.Character) then
  194. p.Character.Humanoid.PlatformStand = true
  195. end
  196. end
  197. end)
  198.  
  199. local b18 = textButton("UnStun",UDim2.new(0, 211,0, 278),F)
  200. b18.MouseButton1Down:Connect(function()
  201. local p = findPlayer(T1.Text)
  202. if (p~=nil) then
  203. if (p.Character) then
  204. p.Character.Humanoid.PlatformStand = false
  205. end
  206. end
  207. end)
  208.  
  209. local b19 = textButton("Sit",UDim2.new(0, 312,0, 279),F)
  210. b19.MouseButton1Down:Connect(function()
  211. p = findPlayer(T1.Text)
  212. if (p~=nil) then
  213. if (p.Character) then
  214. p.Character.Humanoid.Sit = true
  215. end
  216. end
  217. end)
  218.  
  219. local b20 = textButton("LoopKill",UDim2.new(0, 10,0, 329),F)
  220. b20.MouseButton1Down:Connect(function()
  221. p = findPlayer(T1.Text)
  222. xxxx = true
  223. if (p~=nil) then
  224. if (p.Character) then
  225. while xxxx == true do
  226. p.Character:BreakJoints()
  227. wait(0.2)
  228. end
  229. end
  230. end
  231. end)
  232.  
  233. local b21 = textButton ("UnLoopKill",UDim2.new(0, 109,0, 329),F)
  234. b21.MouseButton1Down:Connect(function()
  235. p = findPlayer(T1.Text)
  236. if (p~=nil) then
  237. if (p.Character) then
  238. xxxx = false
  239. end
  240. end
  241. end)
  242.  
  243. local b22 = textButton("Ban",UDim2.new(0, 210,0, 329),F)
  244. b22.MouseButton1Down:Connect(function()
  245. band = true
  246. p = findPlayer(T1.Text)
  247. if (p~=nil) then
  248. if (p.Character) then
  249. while band == true do
  250. p:Remove()
  251. wait(0.2)
  252. end
  253. end
  254. end
  255. end)
  256.  
  257. local b23 = textButton("UnBan",UDim2.new(0, 312,0, 330),F)
  258. b23.MouseButton1Down:Connect(function()
  259. p = findPlayer(T1.Text)
  260. if (p~=nil) then
  261. if (p.Character) then
  262. band = false
  263. end
  264. end
  265. end)
  266.  
  267. local b24 = textButton("Btools",UDim2.new(0, 10,0, 377),F)
  268. b24.MouseButton1Down:Connect(function()
  269. p = findPlayer(T1.Text)
  270. if (p~=nil) then
  271. if (p.Character) then
  272. if (p.Backpack) then
  273. local clone = Instance.new("HopperBin",p.Backpack)
  274. clone.BinType = "Clone"
  275. local hammer = Instance.new("HopperBin",p.Backpack)
  276. hammer.BinType = "Hammer"
  277. local grab = Instance.new("HopperBin",p.Backpack)
  278. grab.BinType = "GameTool"
  279. end
  280. end
  281. end
  282. end)
  283.  
  284. local bclose = textButton("Close",UDim2.new(0, 7,0, 4),S)
  285. bclose.MouseButton1Down:Connect(function()
  286. p = findPlayer(T1.Text)
  287. if (p~=nil) then
  288. if (p.Character) then
  289. p.PlayerGui["AdminGui V1"].Frame.Position = UDim2.new(0, 337,0, -335)
  290. end
  291. else
  292. game.Players[Owner].PlayerGui["AdminGui V1"].Frame.Position = UDim2.new(0, 337,0, -335)
  293. end
  294. end)
  295.  
  296. local bopen = textButton("Open",UDim2.new(0, 8,0, 56),S)
  297. bopen.MouseButton1Down:Connect(function()
  298. p = findPlayer(T1.Text)
  299. if (p~=nil) then
  300. if (p.Character) then
  301. p.PlayerGui["AdminGui V1"].Frame.Position = UDim2.new(0, 337,0, 0)
  302. end
  303. else
  304. game.Players[Owner].PlayerGui["AdminGui V1"].Frame.Position = UDim2.new(0, 337,0, 0)
  305. end
  306. end)
  307.  
  308. local b25 = textButton("Blind",UDim2.new(0, 109,0, 377),F)
  309. b25.MouseButton1Down:Connect(function()
  310. local p = findPlayer(T1.Text)
  311. if (p~=nil) then
  312. if (p.Character) then
  313. local sb = Instance.new("ScreenGui",p.PlayerGui)
  314. sb.Name = "blinder"
  315. sb.ResetOnSpawn = false
  316. local fb = frame("blind",sb)
  317. fb.Size = UDim2.new(1000, 1000,1000, 1000)
  318. fb.Transparency = 0
  319. fb.Position = UDim2.new(0, -144,0, -90)
  320. end
  321. end
  322. end)
  323.  
  324. local b26 = textButton("UnBlind",UDim2.new(0, 210,0, 377),F)
  325. b26.MouseButton1Down:Connect(function()
  326. local p = findPlayer(T1.Text)
  327. if (p~=nil) then
  328. if (p.PlayerGui) then
  329. if (p.PlayerGui:FindFirstChild("blinder")~=nil) then
  330. p.PlayerGui.blinder:Destroy()
  331. end
  332. end
  333. end
  334. end)
  335.  
  336. local b27 = textButton("Name",UDim2.new(0, 309,0, 376),F)
  337. b27.MouseButton1Down:Connect(function()
  338. p = findPlayer(T1.Text)
  339. if (p~=nil) then
  340. if (p.Character) then
  341. p.Character.Head.Transparency = 1
  342. local mod = Instance.new("Model",p.Character)
  343. mod.Name = (T2.Text)
  344. local head = Instance.new("Part")
  345. head.Position = Vector3.new(0,-100,0)
  346. head.Anchored = true
  347. head.Parent = mod
  348. head.Name = "Head"
  349. head.Size = Vector3.new(2, 1, 1)
  350. wait(0.01)
  351. local human = Instance.new("Humanoid")
  352. human.Parent = mod
  353. local vector = Instance.new("Vector3Value")
  354. vector.Parent = mod
  355. vector.Value = Vector3.new(2, 1, 1)
  356. local mesh = Instance.new("SpecialMesh")
  357. mesh.Parent = head
  358. mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  359. wait(0.01)
  360. w = Instance.new("Weld")
  361. w.Parent = head
  362. w.Part0 = w.Parent
  363. w.Part1 = p.Character.Head head.CFrame = p.Character.Head.CFrame
  364. head.Anchored = false
  365. end
  366. end
  367. end)
  368.  
  369. local b28 = textButton("NoClip",UDim2.new(0, 10,0, 429),F)
  370. b28.MouseButton1Down:Connect(function()
  371. rock = true
  372. p = findPlayer(T1.Text)
  373. if (p~=nil) then
  374. if (p.Character) then
  375. game:GetService("RunService").Stepped:Connect(function()
  376. if rock == true then
  377. p.Character.Torso.CanCollide = false
  378. p.Character.Head.CanCollide = false
  379. end
  380. end)
  381. end
  382. end
  383. end)
  384.  
  385. b29 = textButton("Clip",UDim2.new(0, 109,0, 429),F)
  386. b29.MouseButton1Down:Connect(function()
  387. p = findPlayer(T1.Text)
  388. if (p~=nil) then
  389. if (p.Character) then
  390. rock = false
  391. end
  392. end
  393. end)
  394.  
  395. local b30 = textButton("ShutServer",UDim2.new(0, 211,0, 428),F)
  396. b30.MouseButton1Down:Connect(function()
  397. while true do
  398. Instance.new("Part")
  399. end
  400. end)
  401.  
  402.  
  403. end
  404.  
  405.  
  406. function findPlayer(x)
  407. for _,player in pairs (game:GetService"Players":GetPlayers()) do
  408. if (string.lower(player.Name):find(string.lower(x))) then
  409. return player
  410. end
  411. end
  412. end
  413.  
  414. function textButton(name,pos,parent)
  415. local button = Instance.new("TextButton",parent)
  416. button.Name = name
  417. button.Text = name
  418. button.Size = UDim2.new(0, 100,0, 50)
  419. button.Position = pos
  420. button.TextScaled = true
  421. button.TextColor3 = Color3.new(255, 255, 255)
  422. button.Style = 1
  423. button.BackgroundColor3 = Color3.new(0, 0, 0)
  424. button.Font = "Cartoon"
  425. return button
  426. end
  427.  
  428. function textBox(name,pos,parent)
  429. local box = Instance.new("TextBox",parent)
  430. box.Name = name
  431. box.Text = name
  432. box.Size = UDim2.new(0, 210,0, 40)
  433. box.Position = pos
  434. box.TextScaled = true
  435. box.TextColor3 = Color3.new(255, 255, 255)
  436. box.BackgroundColor3 = Color3.new(0, 0, 0)
  437. box.BorderColor3 = Color3.new(255, 0, 0)
  438. box.BorderSizePixel = 5
  439. box.ClearTextOnFocus = false
  440. return box
  441. end
  442.  
  443. function frame(name,parent)
  444. local ScrollingFrame = Instance.new("ScrollingFrame",parent)
  445. ScrollingFrame.Name = name
  446. ScrollingFrame.Size = UDim2.new(0, 450,0, 300)
  447. ScrollingFrame.Transparency = 0.3
  448. ScrollingFrame.Position = UDim2.new(0, 343,0, 5)
  449. ScrollingFrame.BackgroundColor3 = Color3.new(255, 0, 0)
  450. ScrollingFrame.Active = true
  451. ScrollingFrame.Draggable = true
  452. return ScrollingFrame
  453. end
  454.  
  455.  
  456. MakeGui(Owner)
  457. local mes = Instance.new("Message",game.Workspace)
  458. mes.Text = Owner.."the admin have been loaded!"
  459. wait(2)
  460. mes:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement