Universal Script 📌
3.0k Views
387 Executions

Kill yourself script

Universal Script 📌
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

If it does not work then womp womp

Updates

  1. Script edited: Create script

View Raw
local player = game.Players.LocalPlayer

-- Function to kill the character
local function killCharacter()
    if player.Character then
        player.Character:BreakJoints() -- Instantly kills the character
    end
end

-- Function to make the character say "Bye world" after respawning
local function onCharacterAdded(character)
    task.wait(1) -- Wait for the character to fully load
    local humanoid = character:FindFirstChildOfClass("Humanoid")
    
    if humanoid then
        humanoid.DisplayName = "Bye world" -- Changes display name to "Bye world"
        local head = character:FindFirstChild("Head")
        if head then
            local billboardGui = Instance.new("BillboardGui")
            local textLabel = Instance.new("TextLabel")

            billboardGui.Size = UDim2.new(5, 0, 2, 0)
            billboardGui.StudsOffset = Vector3.new(0, 3, 0)
            billboardGui.Adornee = head
            billboardGui.Parent = head

            textLabel.Size = UDim2.new(1, 0, 1, 0)
            textLabel.Text = "Bye world"
            textLabel.BackgroundTransparency = 1
            textLabel.TextScaled = true
            textLabel.Parent = billboardGui
        end
    end
end

-- Connect the respawn event
player.CharacterAdded:Connect(onCharacterAdded)

-- Kill the character after 2 seconds
task.wait(2)


Comments

2
Log in to join the conversation. Login
Bjarnos's profile picture
Bjarnos2 years ago(edited)

agreed

1
ScripterCoder's profile picture
ScripterCoder2 years ago(edited)

useless and made with chatgpt

1

More universal scripts

See all
Universal Script 📌
2.4k
2.1k
Bumped 28 minutes ago
Key System
Script hub
14.4k
75.0k
Bumped 3 hours ago
Universal Script 📌
79
95
Approved 4 hours ago
Key System
Universal Script 📌
78
117
Approved 4 hours ago
Script hub
76
205
Approved 4 hours ago
Key System