Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local password = "42069"
- print ("Enter Password")
- local input = read("*")
- if input == password then
- print("Password is correct. Access granted.")
- else
- print("Password is incorrect. Access denied.")
- end
- print("what is your name?")
- local inputname = read()
- term.setTextColor(colors.red)
- print(inputname)
- term.setTextColor(colors.white)
- print("good day sir")
Advertisement
Add Comment
Please, Sign In to add comment