Code Obfuscation As Defense

Is code obfuscation a good defense against exploiters? I’m talking about the ones who take your code and makes exploits specifically for your game.

Of course obfuscation would not be my only defense against exploiters.

I would not see Code obfuscation as a defense, it can help to deter some explorers from trying to decipher your code, but with enough time and effort they will figure things out. It may reduce the amount of exploiters who try to find weaknesses in your system, however, if one person finds a weakness they can share it with others. In that sense think of it as a deterrent

1 Like

Do you know any good ways to obfuscate code? Would I be using a plugin or…

No unfortunately I don’t know of any, sorry. Sure you could find one in community resources here on the devforum though

Don’t obfuscate. Ever. Especially not alone.

  • It makes code illegible (yes that is the point but it backfires)
  • It makes code less performant
  • It makes code a pain to debug

Is there a specific reason you need to obfuscate. If you make your local scripts depend on say, a server script via remotes, the local script alone wouldn’t be helpful.

1 Like