Hello, I see lots of moderation services with the scripts only with 1 line...
require(550063113) This happens to be the one I use.
What does the require do? And what are those numbers in it?
Thanks, Vincent Lauro
Hello, I see lots of moderation services with the scripts only with 1 line...
require(550063113) This happens to be the one I use.
What does the require do? And what are those numbers in it?
Thanks, Vincent Lauro
The require() function is used to activate module scripts in-game or call external scripts. The external script is usually uploaded as a freemodel; the code in the parameter of the require() function is the ID of the free model. If you want to find the external script enter the ID into the ROBLOX asset link on the website and it should send you to the model. In order for a module script to be called externally it must be named "MainModule" before being uploaded.
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
require gets an external script and the numbers are the id. This may be used for malicous purposes so you should never fully trust the scripts that have this in them
Where can I find the external script?
Require is for modules. As Volodymyr said, you can also require modules if you upload them to ROBLOX and use their ID.