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

Help with private modules? [ANSWERED]

Asked by 9 years ago

Ok so I've been wanting to make a private module but I don't know how to do it, I've read other scripting helpers questions on require() and on the wiki, but I don't understand how require() works to get the module and how to do it myself. Please help

1 answer

Log in to vote
3
Answered by 9 years ago

Upload the ModuleScript to Roblox, but call it MainModule. Then, use require(moduleid), substituting moduleid for your module's assetid.

0
thanks Warfaresh0t 414 — 9y
Ad

Answer this question