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?

2 comments

0

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.

0

It's the other way around. LocalScripts run ModuleScripts.