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

Using ModuleScripts to run a local script?

Asked by 6 years ago

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?

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. User#5423 17 — 6y
0
It's the other way around. LocalScripts run ModuleScripts. hiimgoodpack 2009 — 6y

Answer this question