At first, I'm really sorry if this question is against guidelines and wrote with no elementary code. Question: I want to learn how to encrypt my code and or obfuscate it.
What ways are to make simple encryption of an example code
function onPlayerRespawned(newPlayer)
local pl = newPlayer:findFirstChild("Humanoid")
if pl ~= nil then
if game.Workspace:findFirstChild(pl.Parent.Name) ~= nil then
pl.WalkSpeed = 78
end
end
end
game.Workspace.ChildAdded:connect(onPlayerRespawned)
--[[this script is just for example]]

5 comments
If you want to encrypt it and still have it work you might wanna work on a decoder first
Encrypting/obfuscating your code is pointless and stupid.
Lmfoa anything U write is already unreadable to anybody but urslef
^ at this point, I doubt anyone would want your code, and, even if they did, obfuscation would still pointless.
"decoder" yes youre right .. im just ... i dont sleep enough