Here i have created a Player Heath Script. It has 'Nothing' to do with 'engine' health. Meaning that being hit by a zombie or taking any kind of damage for that matter will not affect this scripted health.
I've set it up so Full Health lasts for 30 minutes. If playing Solo mode & you have the Quick Revive perk then you'll go into last stand when this health hits 0. If you don't have quick revive then Game Over. However if playing in Co Op mode then when your health hits 0 you will Always goes into laststand. In both modes once you go down(into laststand) you get 30 seconds of health before going down again unless of course you buy food.
On-screen displayed health(bottom left goes down by 5 at a time, until you hit 5 health, in which it'll then go down by 1 at a time. 1 health == 18 seconds. 5 health == 90 seconds. 100 health == 30 minutes.
CREDITS: HitmanVere - i guess because i'm using the same approach that he helped me with on the power generator script i released. "some dude on ugx" - who posted a topic about using a hud to display engine(player health). Ive since deleted that bookmark so i dont know his name but i am essentially using the same example he provided in his tut. & of course the "gang": JohnDoe Numan Dr. Dronken - for all their help along the way.