My table:
local Cache = {
SurvivalGameFramework = {
parent = game.ServerStorage
}
}
As you can probably tell, this table is not an empty value or "nil" but according to ROBLOX studio, Cache[1] is nil, and I've tried literally everything to figure out what is wrong with this engine.
print(Cache[1]) will return nil and so will Cache.SurvivalGameFramework[1].
Cache[1]beingnilis correct: The only key used in yourCachetable isSurvivalGameFramework.Cache.SurvivalGameFrameworkin turn only has aparentkey, soCache.SurvivalGameFramework[1]isnilas well.Cache.SurvivalGameFramework.parenton the other hand would begame.ServerStorage.A table
t = {42}ort = {[1] = 42}would havet[1] == 42. A tablet2 = {k = 42}ort2 = {["k"] = 42}hast2.k == 42andt2["k"] == 42. Absent keys havenilvalues in Lua, sot2[1]isnil.