Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ScreenGui = Instance.new("ScreenGui")
- Main = Instance.new("Frame")
- KillAll = Instance.new("TextButton")
- ScreenGui.Parent = gameCoreGui
- Main.Name = "Main"
- Main.Parent = ScreenGui
- Main.BackgroundColor3 = Color3.new(1, 1, 1)
- Main.Position = UDim2.new(0.223055288, 0, 0.237191647, 0)
- Main.Size = UDim2.new(0, 197, 0, 146)
- KillAll.Name = "Kill All"
- KillAll.Parent = Main
- KillAll.BackgroundColor3 = Color3.new(1, 1, 1)
- KillAll.Position = UDim2.new(0.161285251, 0, 0.328689158, 0)
- KillAll.Size = UDim2.new(0, 132, 0, 50)
- KillAll.Font = Enum.Font.SourceSans
- KillAll.Text = "KILL ALL"
- KillAll.TextColor3 = Color3.new(0, 0, 0)
- KillAll.TextSize = 14
- spawn(function ()
- local script = Instance.new('Script')
- script.Parent = KillAll
- wait(0.1)
- for i, player in ipairs(game.Players:GetPlayers()) do
- if player.Character then
- local hum = player.Character:FindFirstChild('Humanoid')
- if hum then
- hum.Health = 0
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement