Not Updating Variable

The first thing that strikes me as a problem is that in the graph above you are always resetting the high score to the player’s current score no matter what that current score is. Start by fixing that and then report back whether there are additional problems.