I am making a 2D platform game. When the player scores 100 they go to the next level.
When I get to the next level it ends straight away and goes to the win screen.
This is because the score is 100 as soon as you start the new level.
I do not know how to fix it. Could anyone help me please?