How to Add Subtables to a Table With Replica?

For context, I am doing a rpg game, And currently trying to do Unique ID’s and Names Identifiers, I already did the Tools Saving Part , I am using Replica Module by loleris to do this, but i am currently stuck at how i would Add these

(I added notes on the script)

	        local profile = self.Profiles[player]
		if not profile then
			return
		end
		
		local tools = {}
		local inventory_folder_ = Inventories[player.Name]
		
		for _, item in ipairs(inventory_folder_:GetChildren()) do
			table.insert(tools, item.Name)
		end
		
		warn(tools)

`-- Current Output with this code :
		-- 1) "ObjectName" -- < Array
		
		profile.Replica:Set({ "tools" }, tools)
		
		
		-- Expected output >>
		
		-- ["ObjectName"] = { -- < Object, not array
		--		["UniqueId"] = "example1",
		--  	["WeaponName"]
		--}`

image

I’ve Readed this on the docs, But i find it confusing to use
image

I’ve revived this topic, I know, and not sure if you still need help, you had to put solution in there so people can know

Not really sure what you meant, but:

Replica:Set({"Index1", "Index2"}, value)

There is example on the api documentation
You put path to it through table with index’s, which basically looks like this:

--\\ Example
{
   [1] = "Currencies",
   [2] = "CurrencyName"
}

You could also do something like this

local Data = #Replica.Data.Path + 1 --\\ Replica.Data.Path is a table
Replica:Set({"Path", "Path2", Data}, value) --\\ "Data" variable is a number, this is basically works like table.insert