Okay, this is just an example of what I intend to use this for. I plan on using something like this to edit GUIs when the mouse enters, leaves or clicks it. For now I'm just testing it out so... I want data[Workspace.BasePlate].Properties to equal data[Workspace.Part].Properties. How can I reference it from inside the table without typing it twice?
local data = {
[Workspace.Part] = {
Properties = {
["BrickColor"] = "Lime green",
["Material"] = "DiamondPlate"
}
},
[Workspace.BasePlate] = {
Properties = {} -- I want the properties here to be the same as Part's
},
}

2 comments
Oh alrighty then! Thanks!
Just a note; if you try to do it in the first "set" operation, it won't work: at that point the index is still nil and the script will error!