You’re using datastore2 the wrong way. You should update the datastore when giving item and listen to the callback to give the item to the player etc and not the other way around, what you are doing is updating the inventory table of player and saving it when the player leaves.
Is there currently a way to get the data of players who are not in the game? This is for the purpose of unbanning and banning players using commands who are not in the same game as you. You’d need to load the data, change it and then save it all while the player may not be in the game. Is this possible?
Took a while to get the hang of it, but now that I know how to use it, it has a lot more functionality than just the regular DataStoreService. I wish I used this sooner, it would’ve made everything so much easier to do.