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