Help on how to make rpg game

Does any of you guys think that you could help me with making a coin system for an rpg or atleast give me an idea on how this could be coded because im trying to make an rpg make and i dont know how to make a coin system.

try using local storage to change the variable of something, and save it too. i dont really know how to explain it, but you save a variable, and you can change it, and then load it up too. i would recommend going a bit more into the water and exploring this function.
here are a few examples:
coinexample10-18-2022_22-48-24.wick (2.4 KB)
localStorageWithGlobalVarExample10-17-2022_10-53-23.wick (11.4 KB)

and, if you still need some help, you can either look through here, or you can ask for some more help.