Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local ScrollingFrame = Instance.new("ScrollingFrame")
- local UIListLayout = Instance.new("UIListLayout")
- local _1 = Instance.new("TextLabel")
- local m = Instance.new("Hint", workspace)
- m.Text = "A new killing will begin..."
- --Properties:
- ScreenGui.Parent = owner.PlayerGui
- ScrollingFrame.Parent = ScreenGui
- ScrollingFrame.BackgroundColor3 = Color3.new(0.301961, 0.301961, 0.301961)
- ScrollingFrame.Size = UDim2.new(0, 214, 0, 346)
- UIListLayout.Parent = ScrollingFrame
- UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
- _1.Name = "1"
- _1.Parent = ScrollingFrame
- _1.BackgroundColor3 = Color3.new(1, 1, 1)
- _1.BackgroundTransparency = 1
- _1.Size = UDim2.new(0, 200, 0, 50)
- _1.Font = Enum.Font.SourceSans
- _1.Text = "Select a player to kill!"
- _1.TextColor3 = Color3.new(1, 1, 1)
- _1.TextSize = 14
- function new(p)
- local TextButton = Instance.new("TextButton")
- TextButton.Parent = ScrollingFrame
- TextButton.BackgroundColor3 = Color3.new(0.152941, 0.152941, 0.152941)
- TextButton.BorderColor3 = Color3.new(1, 0, 0)
- TextButton.BorderSizePixel = 4
- TextButton.Position = UDim2.new(0.261682242, 0, 0.144508675, 0)
- TextButton.Size = UDim2.new(0, 161, 0, 48)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = p.Name
- TextButton.TextColor3 = Color3.new(1, 1, 1)
- TextButton.TextSize = 14
- return TextButton
- end
- buttons = {}
- for i,v in pairs(game.Players:GetPlayers()) do
- table.insert(buttons,new(v))
- buttons[i].MouseButton1Click:Connect(function()
- workspace[buttons[i].Text].Humanoid.Health = 0
- ScreenGui:Remove()
- m.Text = "Killing Ended!"
- wait(2)
- m:Remove()
- end)
- end
- -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement