I am making a private executor & script hub, and I am trying to figure out what's the best way to be able to require that MainModule through a script placed in a game, without it's assetID getting stolen, and possibly leaked.
I could try obsfucation of the require line, but I also need to know the most safest way to upload the MainModule to ROBLOX. Plugins aren't a good choice, since if someone has BTR (Chrome Extension) they could download the .rbxm/.rbxl file of the MainModule, and reupload it and have it leaked. Though you can't download the file of plugins that cost Robux, or plugins that are offsale, but I do not know how to require either of those.
For short; I need to know how to require a paid or offsale plugin through a script in a game of my choice securely, and without the possibility of my MainModule getting downloaded. If the assetID of the plugin (or something else that the MainModule was uploaded as) gets leaked, I will need to be certain that they cannot take my MainModule.
Sorry for the long explanation, if you are confused, or you can help further, DM me on Discord: Haunted#5196
Thanks.
Sorry to crush your dreams, but Roblox removed the ability to require anything that doesn't have an AssetType of Model.