A good example for this is Tower Defense Simulator. You can buy a tower in the shop, and then when you get teleported to the game place, that tower will be saved in your inventory to use. So how would I make it so that when you buy an item/gadget in the shop, it will save in your inventory and then save when you join the actual game?
I’m not sure how data stores interact with different places inside the same experience, but TeleportService (roblox.com) gives you the option to send teleportData when using TeleportService:Teleport (roblox.com).
If you send the players (relevant) data through there then it should be possible to see which items they have/don’t have.
If data stores are “universal”, as in the same datastore can be accessed from all places in the same experience, then you could just retrieve their loadout from that (since in TD you wouldn’t need to know anything except their loadout)
Very Simple I Would Save the Names and then have all the units in a server storage with the unit and then when loading just go down the list and then just clone into the inventory.
I was thinking, maybe I could have a DataStore called “Gadget”, and store the gadget the player bought inside their inventory so that it could replicated in the game.
This Should work as this will do it correctly just make sure you don’t lose data