The way to do this is pretty simple, as long as you have only one script. If you have more, I'll get to that later. Anyway, what you need to do is publish your script to the Catalog. You can do this by right-clicking your script and clicking "Save to ROBLOX". Then, fill out the details. Next, go to your Develop page, and click on "Models". Click the gear icon, click "Configure", and quickly just make sure "Publish for free public use" is NOT checked. Then, go back to the Develop tab, and go back to models. Now, click on your model. You will be brought to a page. Click on the address bar (the long and thin box at the top of your web browser window) and go to the very end. There should be a number. Highlight that number, and copy. Now create a new script in your place. Inside it place this script:
require(id here)
Just replace id here with the number you copied. Finally, you need to do one more thing. In the Studio Explorer (on the left of your screen) there should be a little blue box that says "HttpService" next to it. Click that. In the Properties menu (right of your screen) check the box that says "HttpServiceEnabled". (If you don't see the Explorer or Properties menu, go to the View tab and click both of the big buttons on the left that say "Explorer" and "Properties".) Now, you have finished your module thingie!
On the other hand, if you have more than one script, it is a tiny bit more complicated. First, upload ALL your scripts separately. Now, make the script, copy the first script's id as shown above, and put the following into your script:
require(id here)
require(id here)
require(id here)
Make sure you have a require line for each script your anti-exploit script needs. Also, you must make sure each require line has the correct ID. DO NOT make two require calls to the same script or your game could get messed up.
1 comment
Wee-woo, script request alert. This is not a scripting request site! (P.S. pm me on roblox, I'm sellin somethign that may interest you)