I got enough information from my previous thread to create a new script to make another script that prints a table name, so i tried it, but for any reason, the script is not printing anything, and there’s not any error, here is the script:
local Module = require(script.Parent.ModuleScript) --Module with the table
for _, Table in ipairs(Module) do --Gets every table
for TableName, a in ipairs(Table) do --Gets every table inside and the Table name
print(TableName)
end
end
I think i should give my Module Script also:
return {
["GoodPerson"] = {
[1] = {
["A"] = 1;
["B"] = 1;
};
[2] = {
["A"] = 1;
["B"] = 1;
};
};
};
I thought i made a mistake, so i went to the Developer Hub to see some information about Tables, and i found that i was doing this correctly, i guess. I don’t know if i did a mistake while i was making this script and i didn’t notice it. Thanks for reading.