This is the line that I have to try and call for the table.
EDIT: I know the string says “Act1” for when it tries to find the table. That was an accident lol, but it still prints the same error without it, And the value is not set to a nil / nonexistant value.
table.find only works for arrays, try to use a loop that iterates thru the ActsInfo until “ObviousName” is the value you’re searching for.
local FindAct
for key,Data in next,ActsInfo do
if Data.ObviousName == "Act 1" then
FindAct = Data
break
end
end
print(FindAct.ObviousName) -- this will error if the search fails.