I could obfuscate it, and hope for it not to be decoded. Its better than no protection at all.
That does not work because the obfuscated code still has to reference the variables in the environment its running in. If they’re redefined before the obfuscated code is ran there is no way for the obfuscated code to know whether the functions are spoofed or not.
I don’t understand. What do you mean exactly?
This is essentially an educated guess!
I’m not anywhere near qualified to explain how custom lua-vms for obfuscation work, but essentially when they parse their custom bytecode and generate their own instructions they’re limited to using built in functions to emulate the complete functionality of lua.
I can require a module perhaps?
No. They could just create a fake require and steal your ID.
require = print --// insert obfuscated code that requires your module
There is no guarantee your code is being ran by the people it is supposed to be ran by. I suggest one time purchases for services and or trying contracts…? (Not completely sure on the legaility or possibility of the last option; contracts)
I would figure out a way but before we discuss possibilities of de-obfuscation, first maybe find a 3ps that works and then we’ll test if it can be de-obfuscated, but first we need to find one.
Nothing I’ve listed does any deobfuscation. It just abuses the way the obfuscated code works.
Ok but first lets find a 3ps before figuring out issues it may occur.
They can just spoof HttpService.
Well if you still want to use some 3rd party server I would heavily suggest something that allows files to be private and only accessible through an API key. I do not know of any free service that does this, but you should be able to set something up your self on github pages (you can give github some money and they’ll let you privatize your github page’s source!!)
Is there like a database I could use?
Still requires you to set your own server and stuff up
How do I connect mongo to ROBLOX though?
You can’t directly. You have to use it on an external server where the Roblox server requests via some api you have setup to access the data they want to.
Yeah this is a prime example of why I keep saying it’s not a good idea to sell products on Roblox anymore and to instead take commissions. By the way, your exact question has been asked before, so please do search before posting threads.