Advertisement
maniek207

Kohls admin gui V2 by piter

Oct 16th, 2019
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 11.78 KB | None | 0 0
  1. --[[
  2. Kohls Admin House GUI V2 Final release by piterg207
  3.  
  4. Some functions can be glitchy.
  5. Admin button works only if is any admin pad in game is free
  6.  
  7. Green buttons works without admin
  8.  
  9. ]]
  10.  
  11. -- Objects
  12.  
  13. local ScreenGui = Instance.new("ScreenGui")
  14. local Frame = Instance.new("Frame")
  15. local inputbox = Instance.new("TextBox")
  16. local hidebutton = Instance.new("TextButton")
  17. local destroybut = Instance.new("TextButton")
  18. local ban = Instance.new("TextButton")
  19. local kick = Instance.new("TextButton")
  20. local music = Instance.new("TextButton")
  21. local crash = Instance.new("TextButton")
  22. local killothers = Instance.new("TextButton")
  23. local antyjail = Instance.new("TextButton")
  24. local clear = Instance.new("TextButton")
  25. local scrcmd = Instance.new("TextButton")
  26. local Unlock = Instance.new("TextButton")
  27. local unlockhandle = Instance.new("TextBox")
  28. local getadmin = Instance.new("TextButton")
  29. local Speed = Instance.new("TextButton")
  30. local noclip = Instance.new("TextButton")
  31. local TextLabel = Instance.new("TextLabel")
  32. local antyjailen = 0
  33. local crashh = 0
  34.  
  35. -- Properties
  36. print("This script is maked by piterg207. No modifing gui, Scripts can be copied")
  37.  
  38. ScreenGui.Name = "ScreenGui"
  39. ScreenGui.Parent = game.CoreGui
  40. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  41.  
  42. Frame.Parent = ScreenGui
  43. Frame.BackgroundColor3 = Color3.new(0.00392157, 0, 0.0784314)
  44. Frame.Position = UDim2.new(0.067934148, 0, 0.084931463, 0)
  45. Frame.Size = UDim2.new(0, 409, 0, 303)
  46. Frame.Draggable = true
  47. Frame.Active = true
  48.  
  49. inputbox.Name = "inputbox"
  50. inputbox.Parent = Frame
  51. inputbox.BackgroundColor3 = Color3.new(0, 0, 0)
  52. inputbox.Position = UDim2.new(0.0300895851, 0, 0.0991898626, 0)
  53. inputbox.Size = UDim2.new(0, 377, 0, 42)
  54. inputbox.Text = "Input"
  55. inputbox.TextColor3 = Color3.new(0, 0, 1)
  56. inputbox.TextSize = 19
  57. print("GUI parts loaded.")
  58. hidebutton.Name = "hidebutton"
  59. hidebutton.Parent = Frame
  60. hidebutton.BackgroundColor3 = Color3.new(0, 0, 0)
  61. hidebutton.Position = UDim2.new(0.864200413, 0, 0.0245789718, 0)
  62. hidebutton.Size = UDim2.new(0, 40, 0, 13)
  63. hidebutton.Font = Enum.Font.SourceSans
  64. hidebutton.Text = "Hide"
  65. hidebutton.TextColor3 = Color3.new(0, 0.333333, 1)
  66. hidebutton.TextSize = 14
  67.  
  68. hided = false
  69.  
  70. hidebutton.MouseButton1Down:connect(function()
  71. if hided == false then
  72. Frame:TweenSize(UDim2.new(0, 409, 0, 30),"In","Sine",1,true)
  73. wait(1)
  74. kick.Visible = false
  75. ban.Visible = false
  76. Unlock.Visible = false
  77. noclip.Visible = false
  78. getadmin.Visible = false
  79. inputbox.Visible = false
  80. unlockhandle.Visible = false
  81. TextLabel.Visible = false
  82. clear.Visible = false
  83. killothers.Visible = false
  84. music.Visible = false
  85. crash.Visible = false
  86. Speed.Visible = false
  87. antyjail.Visible = false
  88. scrcmd.Visible = false
  89. hided = true
  90. else
  91. Frame:TweenSize(UDim2.new(0, 409, 0, 303),"In","Sine",1,true)
  92. wait(1)
  93. kick.Visible = true
  94. ban.Visible = true
  95. Unlock.Visible = true
  96. noclip.Visible = true
  97. getadmin.Visible = true
  98. inputbox.Visible = true
  99. unlockhandle.Visible = true
  100. TextLabel.Visible = true
  101. clear.Visible = true
  102. killothers.Visible = true
  103. music.Visible = true
  104. crash.Visible = true
  105. Speed.Visible = true
  106. antyjail.Visible = true
  107. scrcmd.Visible = true
  108. hided = false
  109. end
  110. end)
  111.  
  112.  
  113. destroybut.Name = "destroybut"
  114. destroybut.Parent = Frame
  115. destroybut.BackgroundColor3 = Color3.new(0, 0, 0)
  116. destroybut.Position = UDim2.new(0.740807056, 0, 0.0245789718, 0)
  117. destroybut.Size = UDim2.new(0, 40, 0, 13)
  118. destroybut.Font = Enum.Font.SourceSans
  119. destroybut.Text = "Close"
  120. destroybut.TextColor3 = Color3.new(0, 0.333333, 1)
  121. destroybut.TextSize = 14
  122. destroybut.MouseButton1Down:connect(function()
  123. ScreenGui:Destroy()
  124. end)
  125. print("Close and hide buttons are loaded")
  126. ban.Name = "ban"
  127. ban.Parent = Frame
  128. ban.BackgroundColor3 = Color3.new(0, 0, 0)
  129. ban.Position = UDim2.new(0.3167862, 0, 0.293906778, 0)
  130. ban.Size = UDim2.new(0, 84, 0, 41)
  131. ban.Font = Enum.Font.Highway
  132. ban.Text = "Ban"
  133. ban.TextColor3 = Color3.new(0, 0, 1)
  134. ban.TextSize = 30
  135.  
  136. kick.Name = "kick"
  137. kick.Parent = Frame
  138. kick.BackgroundColor3 = Color3.new(0, 0, 0)
  139. kick.Position = UDim2.new(0.76204437, 0, 0.293906778, 0)
  140. kick.Size = UDim2.new(0, 81, 0, 41)
  141. kick.Font = Enum.Font.Highway
  142. kick.Text = "Kick"
  143. kick.TextColor3 = Color3.new(0, 0, 1)
  144. kick.TextSize = 30
  145.  
  146. music.Name = "music"
  147. music.Parent = Frame
  148. music.BackgroundColor3 = Color3.new(0, 0, 0)
  149. music.Position = UDim2.new(0.540700614, 0, 0.293906778, 0)
  150. music.Size = UDim2.new(0, 81, 0, 41)
  151. music.Font = Enum.Font.Highway
  152. music.Text = "Music"
  153. music.TextColor3 = Color3.new(0, 0, 1)
  154. music.TextSize = 30
  155.  
  156. crash.Name = "crash"
  157. crash.Parent = Frame
  158. crash.BackgroundColor3 = Color3.new(0, 0, 0)
  159. crash.Position = UDim2.new(0.623830199, 0, 0.468824267, 0)
  160. crash.Size = UDim2.new(0, 137, 0, 41)
  161. crash.Font = Enum.Font.Highway
  162. crash.Text = "Crash server"
  163. crash.TextColor3 = Color3.new(0, 0, 1)
  164. crash.TextSize = 28
  165.  
  166. killothers.Name = "killothers"
  167. killothers.Parent = Frame
  168. killothers.BackgroundColor3 = Color3.new(0, 0, 0)
  169. killothers.Position = UDim2.new(0.666689754, 0, 0.643741786, 0)
  170. killothers.Size = UDim2.new(0, 120, 0, 41)
  171. killothers.Font = Enum.Font.Highway
  172. killothers.Text = "Kill others"
  173. killothers.TextColor3 = Color3.new(0, 0, 1)
  174. killothers.TextSize = 28
  175.  
  176. antyjail.Name = "antyjail"
  177. antyjail.Parent = Frame
  178. antyjail.BackgroundColor3 = Color3.new(0, 0, 0)
  179. antyjail.Position = UDim2.new(0.608010054, 0, 0.828560233, 0)
  180. antyjail.Size = UDim2.new(0, 144, 0, 41)
  181. antyjail.Font = Enum.Font.Highway
  182. antyjail.Text = "Antyjail : OFF"
  183. antyjail.TextColor3 = Color3.new(0, 0, 1)
  184. antyjail.TextSize = 28
  185.  
  186. clear.Name = "clear"
  187. clear.Parent = Frame
  188. clear.BackgroundColor3 = Color3.new(0, 0, 0)
  189. clear.Position = UDim2.new(0.45757103, 0, 0.468824238, 0)
  190. clear.Size = UDim2.new(0, 61, 0, 41)
  191. clear.Font = Enum.Font.Highway
  192. clear.Text = "Clear"
  193. clear.TextColor3 = Color3.new(0, 0, 1)
  194. clear.TextSize = 30
  195.  
  196. scrcmd.Name = "scrcmd"
  197. scrcmd.Parent = Frame
  198. scrcmd.BackgroundColor3 = Color3.new(0, 0, 0)
  199. scrcmd.Position = UDim2.new(0.0282776356, 0, 0.290606558, 0)
  200. scrcmd.Size = UDim2.new(0, 103, 0, 41)
  201. scrcmd.Font = Enum.Font.Highway
  202. scrcmd.Text = "Secret CMD"
  203. scrcmd.TextColor3 = Color3.new(0, 0, 1)
  204. scrcmd.TextSize = 24
  205.  
  206. Unlock.Name = "Unlock"
  207. Unlock.Parent = Frame
  208. Unlock.BackgroundColor3 = Color3.new(0, 0, 0)
  209. Unlock.Position = UDim2.new(0.245881543, 0, 0.468824238, 0)
  210. Unlock.Size = UDim2.new(0, 77, 0, 41)
  211. Unlock.Font = Enum.Font.Highway
  212. Unlock.Text = "Unlock"
  213. Unlock.TextColor3 = Color3.new(0, 0, 1)
  214. Unlock.TextSize = 30
  215.  
  216. unlockhandle.Name = "unlockhandle"
  217. unlockhandle.Parent = Frame
  218. unlockhandle.BackgroundColor3 = Color3.new(0, 0, 0)
  219. unlockhandle.Position = UDim2.new(0.025539631, 0, 0.467455924, 0)
  220. unlockhandle.Size = UDim2.new(0, 78, 0, 40)
  221. unlockhandle.Font = Enum.Font.SourceSans
  222. unlockhandle.Text = "Unlock handle"
  223. unlockhandle.TextColor3 = Color3.new(0, 0, 1)
  224. unlockhandle.TextSize = 14
  225.  
  226. getadmin.Name = "getadmin"
  227. getadmin.Parent = Frame
  228. getadmin.BackgroundColor3 = Color3.new(0, 0, 0)
  229. getadmin.Position = UDim2.new(0.390135825, 0, 0.828560174, 0)
  230. getadmin.Size = UDim2.new(0, 82, 0, 41)
  231. getadmin.Font = Enum.Font.Highway
  232. getadmin.Text = "Admin"
  233. getadmin.TextColor3 = Color3.new(0, 1, 0)
  234. getadmin.TextSize = 30
  235.  
  236. Speed.Name = "Speed"
  237. Speed.Parent = Frame
  238. Speed.BackgroundColor3 = Color3.new(0, 0, 0)
  239. Speed.Position = UDim2.new(0.189646825, 0, 0.643741727, 0)
  240. Speed.Size = UDim2.new(0, 82, 0, 41)
  241. Speed.Font = Enum.Font.Highway
  242. Speed.Text = "Speed"
  243. Speed.TextColor3 = Color3.new(0, 1, 0)
  244. Speed.TextSize = 30
  245.  
  246. noclip.Name = "noclip"
  247. noclip.Parent = Frame
  248. noclip.BackgroundColor3 = Color3.new(0, 0, 0)
  249. noclip.Position = UDim2.new(0.412140727, 0, 0.643741727, 0)
  250. noclip.Size = UDim2.new(0, 91, 0, 41)
  251. noclip.Font = Enum.Font.Highway
  252. noclip.Text = "Noclip"
  253. noclip.TextColor3 = Color3.new(0, 1, 0)
  254. noclip.TextSize = 30
  255.  
  256. TextLabel.Parent = Frame
  257. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  258. TextLabel.BackgroundTransparency = 1
  259. TextLabel.Position = UDim2.new(0.0238090083, 0, 0.827153146, 0)
  260. TextLabel.Size = UDim2.new(0, 140, 0, 24)
  261. TextLabel.Font = Enum.Font.SourceSans
  262. TextLabel.Text = "Kohls admin house gui V2\n by piterg207 "
  263. TextLabel.TextColor3 = Color3.new(0, 1, 0)
  264. TextLabel.TextSize = 14
  265.  
  266.  
  267. -- Scripts --
  268. print("Finishied loading gui,Loading scripts")
  269. getadmin.MouseButton1Down:connect(function()
  270. now = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  271.  
  272. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Terrain.GameFolder.Admin.Pads['Touch to get admin'].Head.CFrame
  273. --game.Workspace.Terrain.GameFolder.Admin.Regen.Cframe
  274.  
  275.  
  276. wait(0.2)
  277.  
  278. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = now
  279. end)
  280.  
  281. print("getadmin loaded")
  282.  
  283. noclipa = false
  284. game:GetService('RunService').Stepped:connect(function()
  285. if noclipa then
  286. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  287. noclip.Text = "Noclip V"
  288. end
  289. end)
  290. noclip.MouseButton1Down:connect(function()
  291. noclipa = not noclipa
  292. noclip.Text = "Noclip X"
  293. end)
  294.  
  295. print("noclip loaded")
  296.  
  297. Unlock.MouseButton1Down:connect(function()
  298. for i,v in pairs(game.Workspace:GetDescendants()) do
  299. if v:IsA("Part") then
  300. v.Locked = false
  301. print("Unlocked" .. v.Name)
  302. unlockhandle.Text = "Unlocked" .. v.Name
  303. end end
  304. end)
  305.  
  306. print("unlock loaded")
  307.  
  308. function GetPlayer(plrname)
  309.     for _,player in pairs(game.Players:GetPlayers()) do
  310.         if plrname:lower() == player.Name:sub(1,plrname:len()):lower() then
  311.             return player
  312.         end
  313.     end
  314.     return nil
  315. end
  316.  
  317. local Banned = {}
  318.  
  319. print("ban.getplayer loaded")
  320.  
  321. ban.MouseButton1Down:connect(function()
  322.     local target = GetPlayer(inputbox.Text)
  323.     if target then
  324.         table.insert(Banned,target.Name)
  325.         wait(0.5)
  326.         game.Players.LocalPlayer.Backpack.Delete.delete:FireServer(target)
  327. inputbox.Text = "Banned ! Player Name :" .. inputbox.Text
  328. print('Banned ! Player Name : ',inputbox.Text)
  329.     end
  330. end)
  331. print("ban loaded")
  332.  
  333.  
  334. kick.MouseButton1Down:connect(function()
  335.     local target = GetPlayer(inputbox.Text)
  336.     if target then
  337.         game.Players.LocalPlayer.Backpack.Delete.delete:FireServer(target)
  338. inputbox.Text = "Kicked ! Player Name :" .. inputbox.Text
  339. print("Kicked ! Player Name: ", inputbox.Text)
  340.     end
  341. end)
  342. print("kick loaded")
  343.  
  344. crash.MouseButton1Down:connect(function()
  345. crashh = 1
  346. inputbox.Text = "CRASHING SERVER (nonstop)"
  347. end)
  348. print("crash loaded")
  349.  
  350. clear.MouseButton1Down:connect(function()
  351. game:GetService'Players':Chat(":clr")
  352. end)
  353. print("clear loaded")
  354.  
  355. music.MouseButton1Down:connect(function()
  356. game:GetService'Players':Chat(":music " .. inputbox.Text)
  357. end)
  358. print("music loaded")
  359. killothers.MouseButton1Down:connect(function()
  360. game:GetService'Players':Chat(":kill others")
  361. end)
  362. print("killtothers loaded")
  363. Speed.MouseButton1Down:connect(function()
  364. wait(0.2)
  365. game:GetService'Players'.LocalPlayer.Character.Humanoid.WalkSpeed = 100
  366. end)
  367. print("speed loaded")
  368. antyjail.MouseButton1Down:connect(function()
  369. if antyjailen == 0 then
  370. antyjail.Text = "Antyjail : ON"
  371. antyjailen = 1
  372. else
  373. antyjailen = 0
  374. antyjail.Text = "Antyjail : OFF"
  375. end
  376. end)
  377. print("antyjail loaded")
  378. scrcmd.MouseButton1Click:connect(function()
  379. game:GetService'Players':Chat(inputbox.text)
  380.  
  381. end)
  382.  
  383. print("scrcmd loaded")
  384.  
  385. game.Players.PlayerAdded:connect(function(plr)
  386.     for i = 1,#Banned do
  387.         if Banned[i] == plr.Name then
  388.             game.Players.LocalPlayer.Backpack.Delete.delete:FireServer(plr)
  389.         end
  390.     end
  391. end)
  392. print("Finishied loading scripts. Running main loop")
  393. print("Sorry for long log - in fixing bugs used")
  394.  
  395. while true do
  396.     wait(1)
  397.     if not game.Players.LocalPlayer.Backpack:FindFirstChild("Delete") then
  398.         game:GetService'Players':Chat(":btools me")
  399.     end
  400.     if antyjailen == 1 then
  401.     game:GetService'Players':Chat("removejails")
  402.     end
  403.  
  404.     --game:GetService'Players':Chat("removetools others")
  405.    
  406.     if crashh == 1 then
  407.         game:GetService'Players':Chat(":swagify all all all all all all all all all all all all all all all all all all all all all all")
  408.     end
  409.     end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement