Hello once again, I’m trying to print out a value from a module script and it comes out as nil. I can print the whole table out but trying to make any new variable with a value in the table comes out as nil.
Local Script:
local Module = require(ReplicatedStorageService.Modules:WaitForChild("Information"))
local Information = Module.Info.TableInATable
print(Information) -- will print whole table correctly
local Variable = Information[2]
print(Variable) --prints nil :/
Module:
local module = {
Info = {
TableInATable = {
Info1 = 7,
Info2 = 10,
Info3 = 1
}
}
}
return module