Another quick question :)

How would I go about making my game go to a certain frame once I have a certain score.

For example, my score starts out at 0, when I pick up a coin it goes up by one, once it reaches 10 I want it to go to the next level. Kthnxbai.