Here is an example of a full-featured kill GUI script:

local label = Instance.new("TextLabel") label.Parent = gui label.Size = UDim2.new(0, 200, 0, 50) label.Position = UDim2.new(0, 100, 0, 200) label.Text = "Kill GUI Script"

updateLabel() This script creates a GUI with a button and label, and allows players to kill themselves when the button is clicked. It also updates the label to show the number of players in the game.