So I have a game where the player gets coins and those coins save and continue to add up and you'll be able to use those coins with an in game store. But I have run into an issue that maybe someone here can help with. Here is my code for the store
[attachment=1:3rb0jhr5][/attachment:3rb0jhr5]
Here is the error that i get
[attachment=0:3rb0jhr5][/attachment:3rb0jhr5]
Here is the main part of the game where the global variable is being pulled from
[attachment=2:3rb0jhr5][/attachment:3rb0jhr5]
I've tried to follow all of the tutorials with no success. I want the coins to add up, am i doing things right and why do I have the error. any help is greatly appreciated.