For what are scripts encrypted?

Hi! In some scripts i have seen code that is completely encrypted and it is difficult to decrypt it, but for what and why do they do it this way?

1 Like

If you’re talking about locals script and module scripts, many developers do not want these to be seen by exploiters.
If you’re talking about server sided scripts then maybe they don’t want their team to be seeing it or maybe roblox staff if they’re paranoid enough.
Scripts can contain sensitive information and module scripts can be seen if not in the server storages.

3 Likes

They do this to prevent one of two things:

  • Decompilers from getting any legible source code.
  • People with the actual source code from discerning what it does.

The first one is often used in games to prevent people from reversing the client. The latter is often done in exploit scripts that need to be distributed in source code form but that the creator doesn’t want people to fork/copy.

3 Likes