Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

why does loading a module script give me "Requested module experienced an error while loading"?

Asked by 4 years ago

basically i grouped a module script under a local script under a server script in the workspace

this is the script to call the module script this is in the local script

local set = require(script.Settings)

Settings is the name of the module script

when i run the game the output says

"Requested module experienced an error while loading"

0
It might mean that the module has a script error. Is there anything thats yielding in the script? 123nabilben123 499 — 4y
1
Yielding isn't an issue in the code. Modulescripts temporarily stop the thread that's calling it until some kind of return value is given, even if it's nil (which returns an error). The message given simply means that something in your modulescript broke. Check the stack trace and see what it gave you.  Fifkee 2017 — 4y

Answer this question