I made a gui where you can purchase gear if you have enough cash. Once you have enough cash you can click a purchase button and the purchase button deletes itself. How do I make it that the purchase button stays deleted for the local player even on their next visit? I have tried everything I know about datastores and even have been on the roblox dev forum. pls help

2 comments

0

To achieve that you have to save a data when the player makes the purchase, then when the player joins again, just see if it has that data. Take a look at this article about saving data: https://developer.roblox.com/en-us/onboarding/intro-to-saving-data/1

0

yeah similar to what @WoTrox said. You will need to use data stores here.