HealthChanged (Event)
From Legacy Roblox Wiki
Jump to navigationJump to search
![]() | |
Description | Fired when the Humanoid's Health changes. |
---|---|
Member of: | Humanoid |
Example
This event is fired when the Humanoid's Health is changed. Either by losing, or gaining health. The following example only works in a LocalScript.game.Players.LocalPlayer.Character.Humanoid.HealthChanged:connect(function(health)
print("The humanoid's health has changed to " .. health .. ".")
end)