just create a global variable "score" and store there the score of the game.
then create another one that when you finish the game you give it a number. (gb "finished_game "=1)
then on your event sheet say
"score"=50 ----- ---------------------go to layout "new"
"finished_game"=1