I’ve tried to research other topics on this and I can’t seem to wrap my head around them. I would like to make a shop where the player purchases an in-game item using an in-game currency (like coins for example) and save the purchased item to a datastore without overriding the pre-existing items.
If anyone knows how I could easily do this, help is appreciated!
Insert the pre-existing items in a table, by using table.insert
And then insert the new item in that same table.
You can then save the table as a whole by doing SetAsync()
When the player rejoins, you can loop through that table and give them all the items. Anytime you want to update the table, repeat the steps and it should work.