Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make gui that saves once it gets deleted?

Asked by 3 years ago

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

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 WoTrox 345 — 3y
0
yeah similar to what @WoTrox said. You will need to use data stores here. Soban06 410 — 3y

Answer this question