In either case, as the solution suggests, one of the “best” ways to “obfuscate” your code is by “not including it on Roblox at all”. You can load it out from an external web server or from a GitHub repository (which may expose you to a few issues that come with either public or private repositories). 4 Likes.
Full Answer
I've never play Roblox. But I've decided, the best way to learn this, to just jump in. Let's say I was a creator, let's say I design my own game. How am I going to make a few bucks out of here? I create my own game I create my design, and this is me ...
There’s a plugin by Stravantthat I use that can obfuscate and beautify scripts for you. Simply select the script in explorer, minify it, and it’ll create an obfuscated/minified version of the script as a direct child to the script you wanted to minify. (Beautifying works the same way)
Some popular Roblox injectors to download
It's as simple as that. Obfuscating would be pointless and a waste of time. Just for clarification, obfuscation does not mean it prevents anyone from editing code. It's for hiding variable names and trying to prevent stolen code (in Roblox's case, Local Scripts).
To obfuscate a script simply use the command /obfuscate