Im looking to create a system for people to use/buy and I want to create a system that only allows people to use it in their game if they have bought it (example of some systems that do this is etech and a couple others)
My question is how do you go about doing such a thing?
One of the main methods is script obfuscation with safeties to prevent modification.
One way you can check if a script is modified is using debugger.traceback and getting the script obfuscated you can find plenty of services but be careful, some are not so good.
Well, If you want it to be completely hidden there’s no way, however there was an old feature called private modules, you could require them without viewing code but that’s deleted now due to backdoors, but what’s bad too is that now groups can’t sell airplane scripts , guns without leaking the code to the person who bought it. So basically, impossible , obfuscate it? You can deobfuscate it.
If your selling a script, you are selling the rights for full use of the script. Unless contractually stated, you give full rights of the script to the buyer. If you mean free models you still are giving the right for full open use of your code. No one is gonna want to buy your stuff if your trying to hide it from them. Not only is this a terrible business idea, there is no good way to do this anyway.
We decided we’re gonna link the script its self to a website and that part of the code will be obfuscated, then the site will log what game is currently running said script so we can monitor if it gets leaked or not and if it does then we will attempt to disable that script from working