Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1,1)
- print("SkyNet Security by Professor v1.1")
- pass = "secreto"
- write ("Senha: ")
- input = read()
- if input == pass then
- print ("Ola novamente, Rafael!")
- redstone.setOutput ("right",true)
- sleep (3)
- redstone.setOutput ("right",false)
- os.shutdown()
- else
- print ("Senha Incorreta, tente novamente.")
- sleep (3)
- os.reboot()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement