PcoWSkbVqDnWTu_dm2ix
The information on this page may no longer be accurate. To see the latest, go to our new and improved documentation. You can also learn more about the future of documentation.
Collapse Sidebar

Died

This event fires when the Humanoid dies, usually when Humanoid/Health reaches 0. This could be caused either by disconnecting their head from their Humanoid/Torso, or directly setting the health property.

This event only fires if the Humanoid is a descendant of the Workspace. If the Dead Enum/HumanoidStateType is disabled it will not fire.


Code Samples


Humanoid.Died

The code below would print the player’s name, followed by “has died!”, whenever a player dies. For example, if the player was named “Shedletsky”, “Shedletsky has died!” would be printed to the output when they died.