# Death MC

**URL:** <https://forum.kirupa.com/t/death-mc/152540>\
**Category:** programming\
**Created:** [June 25, 2005, 6:39pm UTC](https://forum.kirupa.com/t/death-mc/152540 "2005-06-25T18:39:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zackman](https://avatars.discourse-cdn.com/v4/letter/z/82dd89/32.png) [@Zackman](https://forum.kirupa.com/u/Zackman)\
**Post date:** [June 25, 2005, 6:39pm UTC](https://forum.kirupa.com/t/death-mc/152540/1 "2005-06-25T18:39:15Z")

</div>

Ok sorry for all the questions, But i just need one more:

How can i make it so when the enemies or the hero’s Hp runs out, It plays the death movie clip?  
Like at the beggining of a battle, There is a part of the code that says “root\_enemielife = 100” or something close to that
