I’m trying to insert a value in Weapons, but lets say you have other values already stored within it, I wouldn’t want it getting deleted due to using that
is completely replacing what existed in Data["Inventory"]["Weapons"].
If you wanted to add to that, and you knew the index of the item to add, then you could add Sword by doing:
local newWeapon = "Sword"
Data["Inventory"]["Weapons"][newWeapon] = WeaponDictionary[newWeapon]
``
Make the Weapons key point/refer to a table value & append new values to that table when necessary, as to not override any existing values within the table.