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

What does a ModuleScript do?

Asked by 10 years ago

What does a ModuleScript do?

1 answer

Log in to vote
1
Answered by 10 years ago

I checked out the ROBLOX WIKI, and it said this; 'A ModuleScript is a Script-like object that contains code for a module that can be loaded by calling the require global function with the ModuleScript as an argument. Its code will only be executed once per peer (server/client). This makes it useful for creating libraries of code that are shared between scripts on the same peer.' Hope this helped!

0
Thanks! iluvmaths1123 198 — 10y
0
No problem! TheeDeathCaster 2368 — 10y
Ad

Answer this question