Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- term.clear()
- term.setCursorPos(1, 1)
- print("----------Kaffe Security v1.0----------")
- term.setCursorPos(3, 4)
- print("Please Enter Password:")
- local input = read("*")
- if input == ("Password")
- then
- term.clear()
- term.setCursorPos(1, 1)
- print("----------Kaffe Security v1.0----------")
- term.setCursorPos(3, 4)
- print("Password correct :)")
- rs.setOutput("left", true)
- sleep(5)
- rs.setOutput("left", false)
- else
- term.clear()
- term.setCursorPos(1, 1)
- print("----------Kaffe Security v1.0----------")
- term.setCursorPos(3, 4)
- print("Password incorrect!")
- end
- end
Add Comment
Please, Sign In to add comment