# Help on Score final

**URL:** <https://forum.kirupa.com/t/help-on-score-final/152069>\
**Category:** flash\
**Created:** [June 21, 2005, 12:06am UTC](https://forum.kirupa.com/t/help-on-score-final/152069 "2005-06-21T00:06:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rudester](https://avatars.discourse-cdn.com/v4/letter/r/97f17d/32.png) [@rudester](https://forum.kirupa.com/u/rudester)\
**Post date:** [June 21, 2005, 12:06am UTC](https://forum.kirupa.com/t/help-on-score-final/152069/1 "2005-06-21T00:06:44Z")

</div>

When the user has whatever score, I need it to go to a specific frame and play. Apparently, the script I’m using is only sending it to one frame no matter what score. (which is 170.) Is my script wrong? (This script is in a frame. The score comes from button actions, its a quiz.) Thanks!!

if (score + 0)  
{  
gotoAndPlay(174);  
}  
else if (score + 1)  
{  
gotoAndPlay(170);  
}  
else if (score + 2)  
{  
gotoAndPlay(166);  
}  
else if (score + 3)  
{  
gotoAndPlay(162);  
}  
else if (score + 4)  
{  
gotoAndPlay(158);  
}  
else if (score + 5)  
{  
gotoAndPlay(154);  
} // end if  
// end if
