Hi, I've been making a shop gui that sells a variety of weapons for different prices. I want to make it so that the weapons you buy will save even when you get off the game, you could select to use it, so you won't have to buy them again.
The thing is, I don't know how to script this, I've searched everywhere for an answer but I can't find any help. Is there a way I can make this gui work how I want to?

3 comments
Similar to the guis in murder mystery 2, zombie rush, ones that can save like that.
Datastores are your answer. Use Roblox datastores.
I mean for example, if you buy a weapon, you can still buy it again. Is there a way to make an "unlock" script so you can select it without purchasing it again? I dont want it to save to your inventory, but thanks that does help me out.