Making a Currency Save Script

Hi guys. I’m working on a game where there’s a currency. You don’t lose this currency when spent, like points, not cash. I was wondering how I could go about making this save when you leave the game. Thanks!

I recommend watching this tutorial about datastore by AlvinBlox.

You can watch the video above ^ though I’d say learn about datastores if you are ever going to use it again.

Thanks guys! I really appreciate the help.