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

Is there any good way to save datas from a gui shop?

Asked by 3 years ago

Hello guys! Im wondering, is there any good way to save datas from a gui shop. What i mean, that i have a GUI Shop with 3 items, item1, item2 and item3. If the player buys one of these items, i want them to save, and the next time if they join, they just need to equip or unequip the item, like in Epic Minigames. Now, my idea is that if the player buys one of these items, like the Item2, then in the player, in a folder there are 3 bool values, Item1Owned, Item2Owned and Item3Owned. So, if he buy it, i set the Item2Owned bool value to true, and if he leave it will save. And if he rejoin again, the system will check if it is true, and if it is, it will set the Item2 button to owned, so he can equip and unequip it anytime. The first problem is, that if there are 30 items, this will be too hard for roblox (i think), and there are a limit to per player per minute to GetAsync() and SetAsync() too, 60 plus the online players times 10. So if i have 4 player online, it is 60+4*10, so 100. And if all joins in the same minute, then 120 items needs to be checked, thats over 100. So is there any way this can be did more professionally?

Answer this question