I am trying to obtain the values from a folder that has the name of the tag and the values of the tag text, and color. So far what I’ve tried is creating a temp array with the values and inserting that into the array of tags but how do I go about and set the name of the array, in this case, [“Owner”].
Thanks for the reply.
I got that part, I should have been more clear, but my issue is, using a loop, how do I create a separate array for each folder, then set the values to that array with the values within that folder, so like this
local GlobalData = {}
for _, v in pairs(folders:GetChildren()) do
local data = {}
for _, a in pairs(v:GetChildren()) do
data[a.Name] = a.Value
end
GlobalData[v.Name] = data
end