Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local standby = 1000
- local side = "back"
- local password = "7077"
- term.clear()
- term.setCursorPos(1,1)
- write("PIN Required: ")
- local input = read("*")
- if input == password then
- term.clear()
- term.setCursorPos(1,)
- print("Access Granted")
- rs.setOutput(side,true)
- sleep(Standby)
- rs.setOutput(side,false)
- os.reboot()
- else
- term.clear()
- term.setCursorPos(1,1)
- print("Access Denied")
- sleep(Standby)
- os.reboot()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement