I’m trying to build a base for an inventory system, and my method is to create a table in a datastore for the player with the names/ids of the items owned by the player.
Here’s what I’ve got so far.
local data = {
["Inventory"] = {0000000,00000,0000,00000,0000}
}
How would I add values to this ["Inventory"] table, without overwriting previous values?