Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

I've heard about Encryption

"Lua code" Encryption

How would one go about doing such a thing!

2 answers

✓ Accepted answer

Pretty much impossible most people just overuse the term over obfuscation. Obfuscation is just when you hide how the code looks then run it (most people turn a script into a string then loadstring it). This doesn't really do anything since most exploiters use cheat engine (which read memory or something like that, I aint no exploiting master dude). If you want to protect your code try to avoid using localscripts (as exploiters can read them and then modify stuff on workspace and such).

3 comments

2

Ay. Danke.

1

No problem, glad I could help!

1

One way to use LocalScripts securely is to use a Remote* object to extract all actually functionality to a server Script, leaving the LocalScript just being skeleton code.

If you are looking to have a password type saving system you would need a Hash function (SHA1,SHA256). For encryption you could use string.byte to encrypt it into it's number form and then use string.char to convert it back to text at a later time.

This discussion is preserved as it was. New answers, comments, and votes are closed.