When I try testing this section of code I get an error stating that ‘Customisation’ is not a valid member of folder.
local Modules = ReplicatedStorage:WaitForChild('Modules')
local Customisation = require(Modules.Customisation) -- Error here (Line 14)
But when I do prints, it then works and loads the module without question.
local Modules = ReplicatedStorage:WaitForChild('Modules')
print(Modules)
print(Modules.Customisation)
local Customisation = require(Modules.Customisation)
This only occurs when testing online (works fine in studio)
Not this is a module script that’s being called by a LocalScript inside RepFirst. Does it have something to do with loading times?