Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Help with private modules? [ANSWERED]

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

✓ Accepted answer

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

1 comment

0

thanks

This discussion is preserved as it was. New answers, comments, and votes are closed.