Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Plr = game:GetService("Players").LocalPlayer
- local part = Instance.new('Part',workspace)
- part.Size = Vector3.new(16.6, 16.88, 0.05)
- part.BrickColor = BrickColor.new('Really black')
- part.Anchored = true
- part.Locked = true
- game:GetService("RunService").RenderStepped:connect(function()
- part.CFrame = Plr.Character.HumanoidRootPart.CFrame * CFrame.new(0,4.5,-7) * CFrame.Angles(-0.2,0,0)
- end)
- -- Objects
- local MurderUI = Instance.new("SurfaceGui")
- local MurderFrame = Instance.new("Frame")
- local MurderMenuLogo = Instance.new("ImageLabel")
- local Heading = Instance.new("TextLabel")
- local Murder = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- -- Properties
- MurderUI.Name = "MurderUI"
- MurderUI.Parent = part
- MurderUI.Face = Enum.NormalId.Back
- MurderUI.LightInfluence = 1
- MurderFrame.Name = "MurderFrame"
- MurderFrame.Parent = MurderUI
- MurderFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- MurderFrame.BorderSizePixel = 0
- MurderFrame.Size = UDim2.new(1, 0, 1, 0)
- MurderMenuLogo.Name = "MurderMenuLogo"
- MurderMenuLogo.Parent = MurderFrame
- MurderMenuLogo.BackgroundColor3 = Color3.new(1, 1, 1)
- MurderMenuLogo.BorderSizePixel = 0
- MurderMenuLogo.Size = UDim2.new(0, 100, 0, 75)
- MurderMenuLogo.Image = "rbxassetid://212456912"
- Heading.Name = "Heading"
- Heading.Parent = MurderFrame
- Heading.BackgroundColor3 = Color3.new(1, 1, 1)
- Heading.BorderSizePixel = 0
- Heading.Position = UDim2.new(0.125, 0, 0, 11)
- Heading.Size = UDim2.new(0.850000024, 0, 0, 50)
- Heading.Font = Enum.Font.SourceSans
- Heading.Text = " Murder Menu"
- Heading.TextScaled = true
- Heading.TextSize = 14
- Heading.TextWrapped = true
- Heading.TextXAlignment = Enum.TextXAlignment.Left
- Murder.Name = "Murder"
- Murder.Parent = MurderFrame
- Murder.BackgroundColor3 = Color3.new(1, 1, 1)
- Murder.BorderSizePixel = 0
- Murder.Position = UDim2.new(0.5, -200, 0.5, -225)
- Murder.Size = UDim2.new(0, 450, 0, 450)
- TextButton.Parent = Murder
- TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton.BorderSizePixel = 0
- TextButton.Size = UDim2.new(1, 0, 0, 30)
- TextButton.Font = Enum.Font.SourceSansBold
- TextButton.Text = "Start!"
- TextButton.TextColor3 = Color3.new(0, 0, 0)
- TextButton.TextScaled = true
- TextButton.TextSize = 14
- TextButton.TextWrapped = true
- TextButton.MouseButton1Click:connect(function()
- local down = 0
- TextButton.Visible = false
- for i,x in pairs(game:GetService("Players"):GetPlayers()) do
- -- Objects
- local MurderPlayer = Instance.new("TextButton")
- -- Properties
- MurderPlayer.Parent = Murder
- MurderPlayer.Name = "M0rderthisguy"
- MurderPlayer.BackgroundColor3 = Color3.new(1, 1, 1)
- MurderPlayer.BorderSizePixel = 0
- MurderPlayer.Size = UDim2.new(1, 0, 0, 30)
- MurderPlayer.Font = Enum.Font.SourceSansBold
- MurderPlayer.Text = x.Name
- MurderPlayer.TextColor3 = Color3.new(0, 0, 0)
- MurderPlayer.TextScaled = true
- MurderPlayer.TextSize = 14
- MurderPlayer.Position = UDim2.new(0,0,0,down)
- MurderPlayer.TextWrapped = true
- wait()
- down=down+30
- MurderPlayer.MouseButton1Click:connect(function()
- workspace[x.Name].Humanoid.MaxHealth = 0
- workspace[x.Name].Humanoid.Health = 0
- MurderPlayer:Destroy()
- for i,v in pairs(Murder:GetChildren()) do
- if v.Name == "M0rderthisguy" then
- v:Destroy()
- end
- end
- TextButton.Text = "Go again!"
- TextButton.Visible = true
- end)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement