I have a ModuleScript that uses require() to run it. I’ve notice other module scripts have been able to run a localscript inside them so they can use game.StarterGui:SetCore(). If it is possible it would help but if it’s not then how come other module scripts loaded using require() work?
COMMUNITY QUESTION
Using ModuleScripts to run a local script?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
A module can require other modules which are then run. A module cannot run on its own and must be required in a script or local script for it to run.
It's the other way around. LocalScripts run ModuleScripts.