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?
If you want players to only have to buy something once and then whenever they re enter the game they have it in their inventory i suggest using Gamepasses, your players won't even have to select them agian, the Gamepass script will check if they own the gamepass and then if they do add the corresponding item to their inventory upon entering the game.