Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local HaxGui = Instance.new("ScreenGui")
- local GUI_frame = Instance.new("Frame")
- local kohlgui_lbl = Instance.new("TextLabel")
- local exit_btn = Instance.new("TextButton")
- local options_scrfrm = Instance.new("ScrollingFrame")
- local ban_btn = Instance.new("TextButton")
- local kick_btn = Instance.new("TextButton")
- local plrname_txtbox = Instance.new("TextBox")
- local getadmin_btn = Instance.new("TextButton")
- local un_btn = Instance.new("TextButton")
- local OpenGUI = Instance.new("Frame")
- local Open_btn = Instance.new("TextButton")
- --Properties:
- HaxGui.Name = "HaxGui"
- HaxGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- GUI_frame.Name = "GUI_frame"
- GUI_frame.Parent = HaxGui
- GUI_frame.BackgroundColor3 = Color3.new(1, 1, 1)
- GUI_frame.Position = UDim2.new(0.320406288, 0, 0.227805689, 0)
- GUI_frame.Selectable = true
- GUI_frame.Size = UDim2.new(0, 511, 0, 324)
- GUI_frame.Visible = false
- kohlgui_lbl.Name = "kohlgui_lbl"
- kohlgui_lbl.Parent = GUI_frame
- kohlgui_lbl.BackgroundColor3 = Color3.new(0, 0, 0)
- kohlgui_lbl.Position = UDim2.new(-0.00053307222, 0, 0, 0)
- kohlgui_lbl.Size = UDim2.new(0, 511, 0, 49)
- kohlgui_lbl.Font = Enum.Font.SciFi
- kohlgui_lbl.Text = "Kohls Admin House GUI"
- kohlgui_lbl.TextColor3 = Color3.new(0.180392, 1, 0)
- kohlgui_lbl.TextSize = 20
- exit_btn.Name = "exit_btn"
- exit_btn.Parent = GUI_frame
- exit_btn.BackgroundColor3 = Color3.new(0, 0, 0)
- exit_btn.BorderSizePixel = 0
- exit_btn.Position = UDim2.new(0.929257154, 0, -0.00226442516, 0)
- exit_btn.Size = UDim2.new(0, 35, 0, 31)
- exit_btn.Font = Enum.Font.SourceSans
- exit_btn.Text = "x"
- exit_btn.TextColor3 = Color3.new(0, 1, 0)
- exit_btn.TextSize = 25
- options_scrfrm.Name = "options_scrfrm"
- options_scrfrm.Parent = GUI_frame
- options_scrfrm.BackgroundColor3 = Color3.new(0.407843, 0.407843, 0.407843)
- options_scrfrm.Position = UDim2.new(-0.00064140663, 0, 0.149978265, 0)
- options_scrfrm.Size = UDim2.new(0, 510, 0, 275)
- ban_btn.Name = "ban_btn"
- ban_btn.Parent = options_scrfrm
- ban_btn.BackgroundColor3 = Color3.new(0, 0, 0)
- ban_btn.BorderColor3 = Color3.new(0, 0, 0)
- ban_btn.Position = UDim2.new(0.115509763, 0, 0.131172851, 0)
- ban_btn.Size = UDim2.new(0, 176, 0, 42)
- ban_btn.Font = Enum.Font.SciFi
- ban_btn.Text = "Ban"
- ban_btn.TextColor3 = Color3.new(0, 1, 0)
- ban_btn.TextSize = 14
- kick_btn.Name = "kick_btn"
- kick_btn.Parent = options_scrfrm
- kick_btn.BackgroundColor3 = Color3.new(0, 0, 0)
- kick_btn.BorderColor3 = Color3.new(0, 0, 0)
- kick_btn.Position = UDim2.new(0.521392107, 0, 0.131172851, 0)
- kick_btn.Size = UDim2.new(0, 176, 0, 42)
- kick_btn.Font = Enum.Font.SciFi
- kick_btn.Text = "Kick"
- kick_btn.TextColor3 = Color3.new(0, 1, 0)
- kick_btn.TextSize = 14
- plrname_txtbox.Name = "plrname_txtbox"
- plrname_txtbox.Parent = options_scrfrm
- plrname_txtbox.BackgroundColor3 = Color3.new(0, 0, 0)
- plrname_txtbox.BorderSizePixel = 0
- plrname_txtbox.Position = UDim2.new(0.115137666, 0, 0.0354938209, 0)
- plrname_txtbox.Size = UDim2.new(0, 383, 0, 50)
- plrname_txtbox.Font = Enum.Font.SciFi
- plrname_txtbox.Text = "Player Name"
- plrname_txtbox.TextColor3 = Color3.new(0, 1, 0)
- plrname_txtbox.TextSize = 14
- getadmin_btn.Name = "getadmin_btn"
- getadmin_btn.Parent = options_scrfrm
- getadmin_btn.BackgroundColor3 = Color3.new(0, 0, 0)
- getadmin_btn.BorderColor3 = Color3.new(0, 0, 0)
- getadmin_btn.Position = UDim2.new(0.115509748, 0, 0.223765433, 0)
- getadmin_btn.Size = UDim2.new(0, 176, 0, 42)
- getadmin_btn.Font = Enum.Font.SciFi
- getadmin_btn.Text = "Get Admin"
- getadmin_btn.TextColor3 = Color3.new(0, 1, 0)
- getadmin_btn.TextSize = 14
- un_btn.Name = "un_btn"
- un_btn.Parent = options_scrfrm
- un_btn.BackgroundColor3 = Color3.new(0, 0, 0)
- un_btn.BorderColor3 = Color3.new(0, 0, 0)
- un_btn.Position = UDim2.new(0.519431353, 0, 0.223765433, 0)
- un_btn.Size = UDim2.new(0, 176, 0, 42)
- un_btn.Font = Enum.Font.SciFi
- un_btn.Text = "Unpunish/Unjail me"
- un_btn.TextColor3 = Color3.new(0, 1, 0)
- un_btn.TextSize = 14
- OpenGUI.Name = "OpenGUI"
- OpenGUI.Parent = HaxGui
- OpenGUI.BackgroundColor3 = Color3.new(1, 1, 1)
- OpenGUI.Position = UDim2.new(-0.00092334341, 0, 0.644891083, 0)
- OpenGUI.Size = UDim2.new(0, 99, 0, 47)
- Open_btn.Name = "Open_btn"
- Open_btn.Parent = OpenGUI
- Open_btn.BackgroundColor3 = Color3.new(0, 0, 0)
- Open_btn.Position = UDim2.new(-0.00646352721, 0, -0.0163583755, 0)
- Open_btn.Size = UDim2.new(0, 105, 0, 47)
- Open_btn.Font = Enum.Font.SciFi
- Open_btn.Text = "Open GUI"
- Open_btn.TextColor3 = Color3.new(0, 1, 0)
- Open_btn.TextSize = 20
- -- Scripts:
- getadmin_btn.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
- wait(0.2)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = now
- end)
- un_btn.MouseButton1Down:connect(function()
- wait(1)
- game:GetService'Players':Chat(":unjail me")
- game:GetService'Players':Chat(":unpunish me")
- end)
- 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 = {}
- ban_btn.MouseButton1Down:connect(function()
- local target = GetPlayer(plrname_txtbox.Text)
- if target then
- table.insert(Banned,target.Name)
- wait(0.5)
- game.Players.LocalPlayer.Backpack.Delete.delete:FireServer(target)
- plrname_txtbox.Text = "Banned ! Player Name :" .. plrname_txtbox.Text
- print('Banned ! Player Name : ',plrname_txtbox.Text)
- end
- end)
- kick_btn.MouseButton1Down:connect(function()
- local target = GetPlayer(plrname_txtbox.Text)
- if target then
- game.Players.LocalPlayer.Backpack.Delete.delete:FireServer(target)
- plrname_txtbox.Text = "Kicked ! Player Name :" .. plrname_txtbox.Text
- print("Kicked ! Player Name: ", plrname_txtbox.Text)
- end
- end)
- Open_btn.MouseButton1Down:connect(function()
- GUI_frame.Visible = true
- end)
- exit_btn.MouseButton1Down:connect(function()
- GUI_frame.Visible = false
- end)
- RAW Paste Data
Add Comment
Please, Sign In to add comment