I wanted to know where to start when I’m making an inventory system for Cases/Crates
I would create a folder inside the player everytime they join and then store all the BoolValues representing cases or items. False of the value means the player doesn’t own the item and true means they do.
You then loop through the values of the BoolValues and save each one of them using DataStoreService. Once the player joins back, you set the value of the bool valued equal to the data.
is there any potential downside to this?
No, there isn’t. Just do all your checks on the server, if you wont, an exploiter can easily manipulate your script into thinking that the client owns all the cases.
I see… Alright, I’ll try thisㅤㅤ