# Help me with a script!

**URL:** <https://forum.kirupa.com/t/help-me-with-a-script/69982>\
**Category:** programming\
**Created:** [November 9, 2004, 7:33pm UTC](https://forum.kirupa.com/t/help-me-with-a-script/69982 "2004-11-09T19:33:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Inferno](https://avatars.discourse-cdn.com/v4/letter/i/df705f/32.png) [@Inferno](https://forum.kirupa.com/u/Inferno)\
**Post date:** [November 9, 2004, 7:33pm UTC](https://forum.kirupa.com/t/help-me-with-a-script/69982/1 "2004-11-09T19:33:28Z")

</div>

I need help with my shooting game script. If the score is 5000 its goes to next frame (mission completed frame) and if hp is zero it goes to game over frame…  
I tried something like this for the score script but as a flash noob it surely didnt work i think it is not anything is supposed to be. 😃

if (score = 5000) {  
play();  
}

help me please!
