So today I made a data saving script so I can, ya know, save data. Whenever I change the amount of cash I have in console to some number, let's say 50, it saves whenever I leave. However whenever I gain money through a button and then leave, it doesn't save. I have no clue why it does this, and in every tutorial I've seen this doesn't happen.