local name = "Brandon Lam"
local short = string.sub(name, 1, 6)
local NumValues = {78, 7, 74, 1, 19, 12, 62}
local NewLetters = {}
-- 78, 73, 71, 71, 69, 82, 65
for i = 1, #short do
local letter = string.sub(short, i, i)
local ltr = (NumValues[i] + string.byte(letter)) - string.byte(letter)
ltr = string.char(ltr)
table.insert(NewLetters, ltr)
end
local SecretWord = ""
for i,v in pairs(NewLetters) do
SecretWord = SecretWord .. v
end
print("Name: \t" .. name .. "\nWord: \t" .. SecretWord)
To embed this project on your website, copy the following code and paste it into your website's HTML: