Seems like you got it working..
Ofcourse there are more than one way to do this..
I'm not sure what you want when you say go to the next level if score is less than 3
How would the player go to the next level (push a button to skip)?
Why would the player go to the next level if this one is not completed?
When would the player go to the next level (which conditions should be met)?