Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Kohls Admin House GUI V2 Final release by piterg207
- Some functions can be glitchy.
- Admin button works only if is any admin pad in game is free
- Green buttons works without admin
- ]]
- -- Objects
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local inputbox = Instance.new("TextBox")
- local hidebutton = Instance.new("TextButton")
- local destroybut = Instance.new("TextButton")
- local ban = Instance.new("TextButton")
- local kick = Instance.new("TextButton")
- local music = Instance.new("TextButton")
- local crash = Instance.new("TextButton")
- local killothers = Instance.new("TextButton")
- local antyjail = Instance.new("TextButton")
- local clear = Instance.new("TextButton")
- local scrcmd = Instance.new("TextButton")
- local Unlock = Instance.new("TextButton")
- local unlockhandle = Instance.new("TextBox")
- local getadmin = Instance.new("TextButton")
- local Speed = Instance.new("TextButton")
- local noclip = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- local antyjailen = 0
- local crashh = 0
- -- Properties
- print("This script is maked by piterg207. No modifing gui, Scripts can be copied")
- ScreenGui.Name = "ScreenGui"
- ScreenGui.Parent = game.CoreGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(0.00392157, 0, 0.0784314)
- Frame.Position = UDim2.new(0.067934148, 0, 0.084931463, 0)
- Frame.Size = UDim2.new(0, 409, 0, 303)
- Frame.Draggable = true
- Frame.Active = true
- inputbox.Name = "inputbox"
- inputbox.Parent = Frame
- inputbox.BackgroundColor3 = Color3.new(0, 0, 0)
- inputbox.Position = UDim2.new(0.0300895851, 0, 0.0991898626, 0)
- inputbox.Size = UDim2.new(0, 377, 0, 42)
- inputbox.Text = "Input"
- inputbox.TextColor3 = Color3.new(0, 0, 1)
- inputbox.TextSize = 19
- print("GUI parts loaded.")
- hidebutton.Name = "hidebutton"
- hidebutton.Parent = Frame
- hidebutton.BackgroundColor3 = Color3.new(0, 0, 0)
- hidebutton.Position = UDim2.new(0.864200413, 0, 0.0245789718, 0)
- hidebutton.Size = UDim2.new(0, 40, 0, 13)
- hidebutton.Font = Enum.Font.SourceSans
- hidebutton.Text = "Hide"
- hidebutton.TextColor3 = Color3.new(0, 0.333333, 1)
- hidebutton.TextSize = 14
- hided = false
- hidebutton.MouseButton1Down:connect(function()
- if hided == false then
- Frame:TweenSize(UDim2.new(0, 409, 0, 30),"In","Sine",1,true)
- wait(1)
- kick.Visible = false
- ban.Visible = false
- Unlock.Visible = false
- noclip.Visible = false
- getadmin.Visible = false
- inputbox.Visible = false
- unlockhandle.Visible = false
- TextLabel.Visible = false
- clear.Visible = false
- killothers.Visible = false
- music.Visible = false
- crash.Visible = false
- Speed.Visible = false
- antyjail.Visible = false
- scrcmd.Visible = false
- hided = true
- else
- Frame:TweenSize(UDim2.new(0, 409, 0, 303),"In","Sine",1,true)
- wait(1)
- kick.Visible = true
- ban.Visible = true
- Unlock.Visible = true
- noclip.Visible = true
- getadmin.Visible = true
- inputbox.Visible = true
- unlockhandle.Visible = true
- TextLabel.Visible = true
- clear.Visible = true
- killothers.Visible = true
- music.Visible = true
- crash.Visible = true
- Speed.Visible = true
- antyjail.Visible = true
- scrcmd.Visible = true
- hided = false
- end
- end)
- destroybut.Name = "destroybut"
- destroybut.Parent = Frame
- destroybut.BackgroundColor3 = Color3.new(0, 0, 0)
- destroybut.Position = UDim2.new(0.740807056, 0, 0.0245789718, 0)
- destroybut.Size = UDim2.new(0, 40, 0, 13)
- destroybut.Font = Enum.Font.SourceSans
- destroybut.Text = "Close"
- destroybut.TextColor3 = Color3.new(0, 0.333333, 1)
- destroybut.TextSize = 14
- destroybut.MouseButton1Down:connect(function()
- ScreenGui:Destroy()
- end)
- print("Close and hide buttons are loaded")
- ban.Name = "ban"
- ban.Parent = Frame
- ban.BackgroundColor3 = Color3.new(0, 0, 0)
- ban.Position = UDim2.new(0.3167862, 0, 0.293906778, 0)
- ban.Size = UDim2.new(0, 84, 0, 41)
- ban.Font = Enum.Font.Highway
- ban.Text = "Ban"
- ban.TextColor3 = Color3.new(0, 0, 1)
- ban.TextSize = 30
- kick.Name = "kick"
- kick.Parent = Frame
- kick.BackgroundColor3 = Color3.new(0, 0, 0)
- kick.Position = UDim2.new(0.76204437, 0, 0.293906778, 0)
- kick.Size = UDim2.new(0, 81, 0, 41)
- kick.Font = Enum.Font.Highway
- kick.Text = "Kick"
- kick.TextColor3 = Color3.new(0, 0, 1)
- kick.TextSize = 30
- music.Name = "music"
- music.Parent = Frame
- music.BackgroundColor3 = Color3.new(0, 0, 0)
- music.Position = UDim2.new(0.540700614, 0, 0.293906778, 0)
- music.Size = UDim2.new(0, 81, 0, 41)
- music.Font = Enum.Font.Highway
- music.Text = "Music"
- music.TextColor3 = Color3.new(0, 0, 1)
- music.TextSize = 30
- crash.Name = "crash"
- crash.Parent = Frame
- crash.BackgroundColor3 = Color3.new(0, 0, 0)
- crash.Position = UDim2.new(0.623830199, 0, 0.468824267, 0)
- crash.Size = UDim2.new(0, 137, 0, 41)
- crash.Font = Enum.Font.Highway
- crash.Text = "Crash server"
- crash.TextColor3 = Color3.new(0, 0, 1)
- crash.TextSize = 28
- killothers.Name = "killothers"
- killothers.Parent = Frame
- killothers.BackgroundColor3 = Color3.new(0, 0, 0)
- killothers.Position = UDim2.new(0.666689754, 0, 0.643741786, 0)
- killothers.Size = UDim2.new(0, 120, 0, 41)
- killothers.Font = Enum.Font.Highway
- killothers.Text = "Kill others"
- killothers.TextColor3 = Color3.new(0, 0, 1)
- killothers.TextSize = 28
- antyjail.Name = "antyjail"
- antyjail.Parent = Frame
- antyjail.BackgroundColor3 = Color3.new(0, 0, 0)
- antyjail.Position = UDim2.new(0.608010054, 0, 0.828560233, 0)
- antyjail.Size = UDim2.new(0, 144, 0, 41)
- antyjail.Font = Enum.Font.Highway
- antyjail.Text = "Antyjail : OFF"
- antyjail.TextColor3 = Color3.new(0, 0, 1)
- antyjail.TextSize = 28
- clear.Name = "clear"
- clear.Parent = Frame
- clear.BackgroundColor3 = Color3.new(0, 0, 0)
- clear.Position = UDim2.new(0.45757103, 0, 0.468824238, 0)
- clear.Size = UDim2.new(0, 61, 0, 41)
- clear.Font = Enum.Font.Highway
- clear.Text = "Clear"
- clear.TextColor3 = Color3.new(0, 0, 1)
- clear.TextSize = 30
- scrcmd.Name = "scrcmd"
- scrcmd.Parent = Frame
- scrcmd.BackgroundColor3 = Color3.new(0, 0, 0)
- scrcmd.Position = UDim2.new(0.0282776356, 0, 0.290606558, 0)
- scrcmd.Size = UDim2.new(0, 103, 0, 41)
- scrcmd.Font = Enum.Font.Highway
- scrcmd.Text = "Secret CMD"
- scrcmd.TextColor3 = Color3.new(0, 0, 1)
- scrcmd.TextSize = 24
- Unlock.Name = "Unlock"
- Unlock.Parent = Frame
- Unlock.BackgroundColor3 = Color3.new(0, 0, 0)
- Unlock.Position = UDim2.new(0.245881543, 0, 0.468824238, 0)
- Unlock.Size = UDim2.new(0, 77, 0, 41)
- Unlock.Font = Enum.Font.Highway
- Unlock.Text = "Unlock"
- Unlock.TextColor3 = Color3.new(0, 0, 1)
- Unlock.TextSize = 30
- unlockhandle.Name = "unlockhandle"
- unlockhandle.Parent = Frame
- unlockhandle.BackgroundColor3 = Color3.new(0, 0, 0)
- unlockhandle.Position = UDim2.new(0.025539631, 0, 0.467455924, 0)
- unlockhandle.Size = UDim2.new(0, 78, 0, 40)
- unlockhandle.Font = Enum.Font.SourceSans
- unlockhandle.Text = "Unlock handle"
- unlockhandle.TextColor3 = Color3.new(0, 0, 1)
- unlockhandle.TextSize = 14
- getadmin.Name = "getadmin"
- getadmin.Parent = Frame
- getadmin.BackgroundColor3 = Color3.new(0, 0, 0)
- getadmin.Position = UDim2.new(0.390135825, 0, 0.828560174, 0)
- getadmin.Size = UDim2.new(0, 82, 0, 41)
- getadmin.Font = Enum.Font.Highway
- getadmin.Text = "Admin"
- getadmin.TextColor3 = Color3.new(0, 1, 0)
- getadmin.TextSize = 30
- Speed.Name = "Speed"
- Speed.Parent = Frame
- Speed.BackgroundColor3 = Color3.new(0, 0, 0)
- Speed.Position = UDim2.new(0.189646825, 0, 0.643741727, 0)
- Speed.Size = UDim2.new(0, 82, 0, 41)
- Speed.Font = Enum.Font.Highway
- Speed.Text = "Speed"
- Speed.TextColor3 = Color3.new(0, 1, 0)
- Speed.TextSize = 30
- noclip.Name = "noclip"
- noclip.Parent = Frame
- noclip.BackgroundColor3 = Color3.new(0, 0, 0)
- noclip.Position = UDim2.new(0.412140727, 0, 0.643741727, 0)
- noclip.Size = UDim2.new(0, 91, 0, 41)
- noclip.Font = Enum.Font.Highway
- noclip.Text = "Noclip"
- noclip.TextColor3 = Color3.new(0, 1, 0)
- noclip.TextSize = 30
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Position = UDim2.new(0.0238090083, 0, 0.827153146, 0)
- TextLabel.Size = UDim2.new(0, 140, 0, 24)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Kohls admin house gui V2\n by piterg207 "
- TextLabel.TextColor3 = Color3.new(0, 1, 0)
- TextLabel.TextSize = 14
- -- Scripts --
- print("Finishied loading gui,Loading scripts")
- getadmin.MouseButton1Down:connect(function()
- now = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Terrain.GameFolder.Admin.Pads['Touch to get admin'].Head.CFrame
- --game.Workspace.Terrain.GameFolder.Admin.Regen.Cframe
- wait(0.2)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = now
- end)
- print("getadmin loaded")
- noclipa = false
- game:GetService('RunService').Stepped:connect(function()
- if noclipa then
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- noclip.Text = "Noclip V"
- end
- end)
- noclip.MouseButton1Down:connect(function()
- noclipa = not noclipa
- noclip.Text = "Noclip X"
- end)
- print("noclip loaded")
- Unlock.MouseButton1Down:connect(function()
- for i,v in pairs(game.Workspace:GetDescendants()) do
- if v:IsA("Part") then
- v.Locked = false
- print("Unlocked" .. v.Name)
- unlockhandle.Text = "Unlocked" .. v.Name
- end end
- end)
- print("unlock loaded")
- function GetPlayer(plrname)
- for _,player in pairs(game.Players:GetPlayers()) do
- if plrname:lower() == player.Name:sub(1,plrname:len()):lower() then
- return player
- end
- end
- return nil
- end
- local Banned = {}
- print("ban.getplayer loaded")
- ban.MouseButton1Down:connect(function()
- local target = GetPlayer(inputbox.Text)
- if target then
- table.insert(Banned,target.Name)
- wait(0.5)
- game.Players.LocalPlayer.Backpack.Delete.delete:FireServer(target)
- inputbox.Text = "Banned ! Player Name :" .. inputbox.Text
- print('Banned ! Player Name : ',inputbox.Text)
- end
- end)
- print("ban loaded")
- kick.MouseButton1Down:connect(function()
- local target = GetPlayer(inputbox.Text)
- if target then
- game.Players.LocalPlayer.Backpack.Delete.delete:FireServer(target)
- inputbox.Text = "Kicked ! Player Name :" .. inputbox.Text
- print("Kicked ! Player Name: ", inputbox.Text)
- end
- end)
- print("kick loaded")
- crash.MouseButton1Down:connect(function()
- crashh = 1
- inputbox.Text = "CRASHING SERVER (nonstop)"
- end)
- print("crash loaded")
- clear.MouseButton1Down:connect(function()
- game:GetService'Players':Chat(":clr")
- end)
- print("clear loaded")
- music.MouseButton1Down:connect(function()
- game:GetService'Players':Chat(":music " .. inputbox.Text)
- end)
- print("music loaded")
- killothers.MouseButton1Down:connect(function()
- game:GetService'Players':Chat(":kill others")
- end)
- print("killtothers loaded")
- Speed.MouseButton1Down:connect(function()
- wait(0.2)
- game:GetService'Players'.LocalPlayer.Character.Humanoid.WalkSpeed = 100
- end)
- print("speed loaded")
- antyjail.MouseButton1Down:connect(function()
- if antyjailen == 0 then
- antyjail.Text = "Antyjail : ON"
- antyjailen = 1
- else
- antyjailen = 0
- antyjail.Text = "Antyjail : OFF"
- end
- end)
- print("antyjail loaded")
- scrcmd.MouseButton1Click:connect(function()
- game:GetService'Players':Chat(inputbox.text)
- end)
- print("scrcmd loaded")
- game.Players.PlayerAdded:connect(function(plr)
- for i = 1,#Banned do
- if Banned[i] == plr.Name then
- game.Players.LocalPlayer.Backpack.Delete.delete:FireServer(plr)
- end
- end
- end)
- print("Finishied loading scripts. Running main loop")
- print("Sorry for long log - in fixing bugs used")
- while true do
- wait(1)
- if not game.Players.LocalPlayer.Backpack:FindFirstChild("Delete") then
- game:GetService'Players':Chat(":btools me")
- end
- if antyjailen == 1 then
- game:GetService'Players':Chat("removejails")
- end
- --game:GetService'Players':Chat("removetools others")
- if crashh == 1 then
- 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")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement