local Players = game:GetService("Players") local Player = Players.LocalPlayer local UserInputService = game:GetService("UserInputService") local GuiService = game:GetService("GuiService") local screenGui = Instance.new("ScreenGui") screenGui.IgnoreGuiInset = true screenGui.ResetOnSpawn = false screenGui.Parent = Player.PlayerGui local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 100, 0, 50) frame.Position = UDim2.new(0.5, -50, 0.9, -25) frame.BackgroundColor3 = Color3.new(0, 0, 0) frame.BorderColor3 = Color3.new(1, 1, 1) frame.BorderSizePixel = 2 frame.Parent = screenGui local button = Instance.new("TextButton") button.Size = UDim2.new(1, 0, 1, 0) button.BackgroundColor3 = Color3.new(0, 0, 0) button.Text = "Kill" button.TextColor3 = Color3.new(1, 1, 1) button.Font = Enum.Font.Gotham button.TextSize = 20 button.BorderColor3 = Color3.new(1, 1, 1) button.BorderSizePixel = 2 button.Parent = frame button.MouseButton1Click:Connect(function() if Player.Character and Player.Character:FindFirstChild("Humanoid") then Player.Character.Humanoid.Health = 0 end end) Player.CharacterAdded:Connect(function(character) wait(0.1) screenGui.Enabled = true end)