Glorpia Docs
Scripting / Event

Humanoid.Died

Fires when a Humanoid transitions from alive to dead.

Connect

humanoid.Died:Connect(callback)

The callback receives no event arguments.

Example: React To Death

Luau
local humanoid = script.Parent:WaitForChild("Humanoid")

humanoid.Died:Connect(function()
    print(script.Parent.Name, "died")
end)

When it fires

The event is driven by the authoritative Humanoid state. It fires when a living Humanoid becomes dead, including when TakeDamage() or a Health change reduces Health to zero. Authored NPC Humanoids use the same event path as player Humanoids.

Connecting after a Humanoid is already dead does not replay an earlier death.

Related