Encrypting a String

Hiya!

I’m currently working on making a fun, “encrypted” string system. It holds no valuable information.

It is merely encrypting the chats of a player.

I want to know how I would be able to create a code that could mess with the text.

For example:

“Hi. How are you.”

Becomes looking like something like this:
“Jf. Rtv ptm thf.”
No real order in this one.

I hope to achieve this by making a system that can change the letters, for example, A becomes C, B becomes D, etc etc. May anyone help me?

Edit:
I do not need it to be decrypted.

Here’s a good post on how to implement a Caesar Cipher in roblox.

1 Like

Thank you for the reply, I’ll give this a shot now. I’m attempting to use it in a chat system using UpdateMessageFiltered so I’ll let you know if this works.