I have no clue whats causing this, I’m printing everything before and after (screenshot below). I don’t see any brackets or anything that could turn it into a table or even a empty one at that.
-- Server
local function punchingCheck(character, hit_humanoid)
print("Checking", character.Name, hit_humanoid.Parent)
status_module:CheckPunchingValue(character)
status_module:CheckPunchingValue(hit_humanoid.Parent)
end
-- Module
function module.CheckPunchingValue(char)
print(char, char[1])
if Loaded[char] then
local PunchingValue = Loaded[char].PunchingValue
print("Worked", PunchingValue.Value)
return PunchingValue.Value
end
end