# PLZ HELP - need help with health bar!

**URL:** <https://forum.kirupa.com/t/plz-help-need-help-with-health-bar/144859>\
**Category:** Uncategorized\
**Created:** [April 18, 2005, 1:56am UTC](https://forum.kirupa.com/t/plz-help-need-help-with-health-bar/144859 "2005-04-18T01:56:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![greenman](https://avatars.discourse-cdn.com/v4/letter/g/7cd45c/32.png) [@greenman](https://forum.kirupa.com/u/greenman)\
**Post date:** [April 18, 2005, 1:56am UTC](https://forum.kirupa.com/t/plz-help-need-help-with-health-bar/144859/1 "2005-04-18T01:56:33Z")

</div>

Hey,

Im making a platform game in Flash MX, and i have just made a health bar, so that when my mc hits an enemy, he loses health. But , how do i script it so that when the health reaches 0, it goes to a gameover screen? can anyone help?

Any help would be great,

Greenman
