|
| 05 Sep 2011 04:32 PM |
is there a way to use:
function Hurt() end Humanoid.HealthChanged:connect(Hurt)
but have it so its only activated when your health lowers rather than raises too? |
|
|
| Report Abuse |
|
|
| 05 Sep 2011 04:39 PM |
curhealth = Humanoid.Health
function Hurt() if Humanoid.Health < curhealth then curhealth = Humanoid.Health
--Your code here.
end end Humanoid.HealthChanged:connect(Hurt) |
|
|
| Report Abuse |
|