There are several students having this same issue with their score
I see the score going up whenever the crab touches a coin, and it continues to go up after the “game over” screen flashes. Is the issue that the score doesn’t freeze? If so, I’d say the student should think about setting some kind of end condition for the game, so that if the game is not over, the score increments. Otherwise the score no longer increments.
If this is not the issue you were describing, can you tell us what the student expected to happen and what they see happening instead? It’s difficult to troubleshoot an issue if we don’t know what we’re looking for.