Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --if you are going to use this, run normally
- pl = game.Players.LocalPlayer
- mouse=pl:GetMouse()
- --
- --
- colorscheme = BrickColor.new(Color3.new(math.random(), math.random(), math.random()))
- t = Instance.new('Part', game.Workspace.Camera)
- t.Size = Vector3.new(15,10,0.005)
- t.BrickColor = colorscheme
- t.Anchored = true
- t.Locked = true
- t.Transparency=0.45
- t.CanCollide=false
- t.Material = "Granite"
- t.FormFactor = "Custom"
- t.Name = math.random()
- --
- function getPlayer(plr)
- for _, player in pairs(game.Players:GetPlayers()) do
- if player.Name:lower():sub(1,#plr) == plr:lower() then
- return player
- end
- end
- end
- --
- sg = Instance.new('SurfaceGui', game.CoreGui)
- sg.Adornee = t
- sg.Name = "sg"
- sg.Face = 'Back'
- contents = game:GetObjects("rbxassetid://391035509")[1] contents.Parent = sg
- contents.Kick.MouseButton1Down:connect(function()
- getPlayer(contents.Player.Text).Character:Destroy()
- getPlayer(contents.Player.Text):Destroy()
- end)
- contents.Kill.MouseButton1Down:connect(function()
- getPlayer(contents.Player.Text).Character:BreakJoints()
- end)
- contents.God.MouseButton1Down:connect(function()
- getPlayer(contents.Player.Text).Character.Humanoid.MaxHealth = math.huge
- getPlayer(contents.Player.Text).Character.Humanoid.Health = math.huge
- print(getPlayer(contents.Player.Text).Name)
- end)
- contents.Shutdown.MouseButton1Down:connect(function()
- local KICK_1 = Instance.new('SkateboardPlatform', getPlayer(contents.Player.Text).Character)
- KICK_1.Name = ''
- KICK_1.CFrame = CFrame.new(math.random(-1000, 1000), 1000, math.random(-1000, 1000))
- KICK_1.CanCollide = false
- KICK_1.Anchored = false
- KICK_1.Transparency = 1
- KICK_1.Size = Vector3.new(5, 1, 5)
- local WELD_1 = Instance.new('Weld', game.Workspace)
- WELD_1.Name = ''
- WELD_1.Part0 = getPlayer(contents.Player.Text).Character.Torso
- WELD_1.Part1 = KICK_1
- WELD_1.C0 = CFrame.new(0, -500, 0)
- getPlayer(contents.Player.Text).Character.Humanoid.WalkSpeed = 0
- getPlayer(contents.Player.Text).Character.Humanoid.Jump = true
- wait(0.5)
- KICK_1.Anchored = true
- WELD_1:remove()
- end)
- game:service'RunService'.RenderStepped:connect(function()
- pcall(function()
- t.CFrame = pl.Character.Torso.CFrame * CFrame.new(0,5,-5) * CFrame.Angles(math.rad(-10),0,0)
- end)
- end)
- function check()
- if not game.CoreGui:FindFirstChild("sg") then
- print("gui not found, replacing...")
- sg = Instance.new('SurfaceGui', game.CoreGui)
- sg.Adornee = t
- sg.Name = "sg"
- sg.Face = 'Back'
- contents = game:GetObjects("rbxassetid://391035509")[1] contents.Parent = sg
- print('gui has been replaced nignog')
- contents.Kick.MouseButton1Down:connect(function()
- getPlayer(contents.Player.Text).Character:Destroy()
- getPlayer(contents.Player.Text):Destroy()
- end)
- contents.Kill.MouseButton1Down:connect(function()
- getPlayer(contents.Player.Text).Character:BreakJoints()
- end)
- contents.God.MouseButton1Down:connect(function()
- getPlayer(contents.Player.Text).Character.Humanoid.MaxHealth = math.huge
- getPlayer(contents.Player.Text).Character.Humanoid.Health = math.huge
- print(getPlayer(contents.Player.Text).Name)
- end)
- contents.Shutdown.MouseButton1Down:connect(function()
- local KICK_1 = Instance.new('SkateboardPlatform', getPlayer(contents.Player.Text).Character)
- KICK_1.Name = ''
- KICK_1.CFrame = CFrame.new(math.random(-1000, 1000), 1000, math.random(-1000, 1000))
- KICK_1.CanCollide = false
- KICK_1.Anchored = false
- KICK_1.Transparency = 1
- KICK_1.Size = Vector3.new(5, 1, 5)
- local WELD_1 = Instance.new('Weld', game.Workspace)
- WELD_1.Name = ''
- WELD_1.Part0 = getPlayer(contents.Player.Text).Character.Torso
- WELD_1.Part1 = KICK_1
- WELD_1.C0 = CFrame.new(0, -500, 0)
- getPlayer(contents.Player.Text).Character.Humanoid.WalkSpeed = 0
- getPlayer(contents.Player.Text).Character.Humanoid.Jump = true
- wait(0.5)
- KICK_1.Anchored = true
- WELD_1:remove()
- end)
- end
- end
- wait(0.6)
- showing = true
- mouse=game.Players.LocalPlayer:GetMouse()
- mouse.keyDown:connect(function(key)
- if (key) == "e" and showing == true then
- t.Transparency = 1
- contents.God.Visible = false
- contents.Kill.Visible = false
- contents.Kick.Visible = false
- contents.Player.Visible = false
- contents.Lockserver.Visible = false
- contents.Shutdown.Visible = false
- contents["Crash Server"].Visible = false
- showing = false
- elseif (key) == "e" and showing == false then
- t.Transparency = 0.45
- contents.God.Visible = true
- contents.Kill.Visible = true
- contents.Kick.Visible = true
- contents.Player.Visible = true
- contents.Lockserver.Visible = true
- contents.Shutdown.Visible = true
- contents["Crash Server"].Visible = true
- showing = true
- end
- end)
- while true do
- wait(0.35)
- check()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement