The provided error usually pops up when a ModuleScript you’re requiring throws an error. These individual errors should also appear in the output, so try resolving these and see if the loading-error disappears.
What @0skarian said is that the issue is occurring in the module script versus in the script requiring it.
You need to find the error in the module script so we know what the issue is. Can you provide the whole code segment for the module script-or anything that is relevant?
That picture I had was a picture from the ModuleScript.
Here is the code for the GameManager module:
local GameManager = {}
local Config = require(script.Parent.Configurations)
local mapsManager = require(script.MapsManager)
local timeManager = require(script.TimeManager)
local displayManager = require(script.DisplaysManager)
--vars
local intermission = false
local enoughPlayers = false
local gameRunning = false
function GameManager:Initialize()
mapsManager:SaveMaps()
end
function GameManager:RunVotingIntermission()
intermission = true
end
function GameManager:GameStart()
gameRunning = true
end
return GameManager
When requiring a module, I Believe using :WaitForChild() is ideal as you may be attempting to require something that hasn’t fully loaded into the game.