Hey guys! I am making a security door which involes typing a password to open the door.(Just using a place holder door for now). So I am using UserInputService. When I type the letters in it displays Enum.KeyCode, I just want it to display the letter but I’m not sure how.
This is the main part of the code:
userinputservice.InputBegan:Connect(function(input,gameProccessedEvent)
if script.Parent.Enabled then
code[#code+1] = tostring(input.KeyCode)
for i, v in ipairs(code) do
script.Parent.main.code.TextLabel.Text = script.Parent.main.code.TextLabel.Text..v
end
end
end)