Im programming a game for a school project where you collect coins. In the "Game world" you collect the coins and the counter goes up. When you die, I want the score to be transfered to the counter in my main menu but I have no idea how im supposed to do that. Also I want it to add the count so for example when I already have 10 collected coins and it displays that in the menu, then I collect 10 more coins in the game, I want the counter in the main menu to say 20 if you know what I mean, thanks in advance!

