Thank you so much for your answer. However, I found it very difficult to figure out how to use dictionaries. So instead, I’m only using localStorage and MySave. It does work, but another problem has arisen. When I load MySave and start the game, the variable cannot go below the saved value. For example, if I load MySave and there are 10 Coins, I can correctly add Coins and lose Coins when the variable is greater than 10. However, if the Coins go below 10, the variable won’t change until I add Coins again.
Do you know what might be causing this problem? It’s driving me crazy!