Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- os.pullEvent =os.pullEventRaw
- term.clear()
- term.setCursorPos(1, 1)
- write("Please Enter Password: ")
- input = read("*")
- if input == "Rasin" then
- redstone.setOutput("back", true)
- sleep(3)
- redstone.setOutput("back", false)
- sleep(1)
- os.reboot()
- else
- print("Incorrect! Try again later.")
- sleep(1)
- print("Shutting Down")
- sleep(1)
- os.reboot()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement