ModuleScript through the engine and returns its value, caching it the same way the game’s own require does. Because loading can run module code that yields, the call yields until the module is ready.
Parameters
Instance
required
The
ModuleScript to load.Returns
any
Whatever the module returns.
Example
Errors
Related
getloadedmodules: modules that are already required.