Im trying to loop through this module I have and it keeps giving me this error
for i,v in next(DialogModule.Lines[v.Name]) do
print(i,v)
end
The Module
local Dialog = {
["Lines"] = {
["Olivia"] = {
["Hey what's up sis?"] = {
"Nothing much."
},
["Where is the school at?"] = {
"Stop playing around peter and get to school."
}
},
};
}
return Dialog