recently, I have been having this problem where I couldn’t tell the difference between func that uses the table as the first argument.
local module = {}
function module:Test(agrs)
print(agrs)
end
local TestModule = {}
function TestModule.Init(func)
func(TestModule, "Test")
end
TestModule.Init(module.Test) -- this uses table as first agrument
TestModule.Init(function(ags)
print(ags)
end) -- this doesn't use the table as first agrument (this would print the table)