Look up "ACII Table" and find the number for the key or symbol you're looking for, and put it into string.byte()
It will look something like this:
if key == string.byte(2) then
--st00f
end
Let me explain good coding. =)
local Left = string.char(?)
if Key == Left then
end
That way you won't have to keep calling that string.char function. =)