I would consider checking out this roblox article as it can give you a very good idea and understanding of how to save and read data across games. You should also do this in a server-sided script, for security purposes.
This would not save if you leave and rejoin the server, so you can couple datastores with this method to save their coins. Dunno if that was your approach, though