Saving an inventory

I am making a title system and want to save a table (probably as a modulescript) to a player containing the titles owned.
I have a module that has all the titles, structured like:

beginner = rbxassetid://1234567890
pro = rbxassetid://1234567890
developer = rbxassetid://1234567890

I want the table saved to the player to contain which titles they own, probably structured as an array, like:

beginner
pro

Does anyone know how I would go about doing this? I need the table to be specific to each player and I’m sure I’m missing something obvious and essential but I can’t figure it out lol

Can you be a bit more specific and maybe share some code? What’s a tile and how do you own one, for instance?

Datastore is what you want. Search up any datastore tutorial on youtube and you could just change it up a bit to fit your case.

In this case, I suggest storing the asset IDs as soemthing in the script (like a dictionary or table or list or something), and then saving the names of the titles instead. afterwards, just look for the corresponding asset id (or save a number and then find both the corresponding ID and title)

AlvinBlox has a tutorial on datastores that I think will help you out with this very well.

Intead of per say him using the datastore for coins you would save a table {} and load a table for the specific player, do what you need then get rid of the table or even store it to another table

You are going perfectly fine, just save and load the data with DataStoreService or most preferred use DataStore2 (module)