Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- local password = "redred"
- while true do
- term.clear()
- term.setCursorPos(1,1)
- print("Norton Computer Security 1.1")
- print("UserName: Goldshop")
- write("Password: ")
- local input = read("*")
- if input == password then
- term.clear()
- term.setCursorPos(1,1)
- print("Password correct!")
- else
- print("Password incorrect!")
- sleep(2)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement