How to make a table inside of a table while a script is running?

local instances = {}
instances["data"] = {}
instances["data"]["BrickColor"] = part.BrickColor

or you can use

instances[#instances+1] = {} -- Data in here
1 Like