ServerScriptService.GameHandler:6: attempt to call a nil value

Hola,
Whenever I join the game, we have a script that loads all the modules, but we get this error above as you can see.

local modules = script:GetChildren()

for i, v in pairs(modules) do

	local mod = require(v)
	mod.__init()

end
1 Like

Is init a function of your module?

We fixed it now, we was missing one thing.