Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor (colours.orange)
- print ("JackStone's Security v1.1")
- term.setTextColor (colours.white)
- pass = "StoneJack"
- term.setTextColor (colours.red)
- write ("Passwort: ")
- term.setTextColor (colours.yellow)
- input = read()
- if input == pass then
- print ("Zutritt gestattet")
- term.clear()
- term.setCursorPos(1,1)
- term.setTextColor (colours.orange)
- print ("House of JackStone v1.1")
- term.setTextColor (colours.white)
- else
- term.setTextColor (colours.red)
- print (" ")
- write ("Alarm! ")
- redstone.setOutput("left",true)
- sleep(1) write(".") sleep(0.7) write(".") sleep(0.7) write(".")
- sleep(4)
- redstone.setOutput("left",false)
- term.setTextColor (colours.white)
- os.reboot()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement