How to make a database apparently with this

how to make a databese apparently with mutiple folders and save all value in the folders? (folders in folders, value in folders)
if you can help thank you

Screenshot_1

Is there any way that you could reword this, I haven’t a clue what you’re asking.

I think you are asking how to create this structure of folders and properties dynamically, that is, reading a database that will build this entire structure, right?
If so, first you will need to create this logical structure in a table, more specifically a dictionary (Tables).

local MyTable = {
	Data = {
		Inventory = {
			Gear = {
				FlyGear = 'somedata',
				RunGear = 2,
				JumpGear = 'anything'
			},
			Title = {
				Supreme = 1,
				Lord = 2,
				God = 3
			}
		}
	}
}

… and so on…

Then you have to store this table inside a DataStore.

When starting the game you read this DataStore to load this table.
And finally, you will loop to read the table (at multiple levels) to create the folder and property structure.

1 Like