Hey, I am making an Anti-Exploit but I don't want to give away the Source code, because then it could maybe get Bypassed/Stolen. so I am using a module. So would I put my script into a module script then upload it with an assetid then say in a script.
require(12345)--AssetId Will go there
Thanks, Enomphia
Hi!
This is a very simply process! First, create a ModuleScript in your Workspace in Studio. Rename this Module to "MainModule", right click on it and click "Save to ROBLOX". The way you name it there is not important, as long as the script itself is called MainModule.
Once you've done that, get the ID of that model and put it into the required code.
In order to UPDATE your module, insert it into your game via My Models, edit the code, and once again click "Save to ROBLOX", selecting your previously made model.
Doing this will overwrite your old Module, and new servers will automatically use the new code!
Hope this helps