how can I detect health player? I want to detect health to make one rob system
If = ?
how can I detect health player? I want to detect health to make one rob system
If = ?
workspace[playername].Humanoid.Health?
Use Humanoid.HealthChanged
to check when the hp changes
Health
is a property of humanoid and every character has a humanoid. If you have a reference to the player in your script you can just do
if Player.Character.Humanoid.Health > Blah then
-- stuff
end