Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print ("Hello user,")
- print ("Welcome to Prownage Inc.")
- print (" ")
- print ("Please enter the password..")
- local password
- password = read()
- if (password == "pew") then
- print("Password correct, Starting eye scan..") --10
- redstone.setOutput("left", true)
- redstone.setOutput("right", true)
- else
- print ("Access denied")
- os.sleep(1)
- term.clear()
- term.setCursorPos(1,1)
- error()
- end
- os.sleep(1)
- local eyecolor
- print("please enter the color of your eyes..")
- eyecolor = read()
- print("Checking: [= ] 5%")
- os.sleep(0,5)
- print("Checking: [== ] 23%")
- os.sleep(0,5)
- print("Checking: [=== ] 45%")
- os.sleep(0,5)
- print("Checking: [==== ] 67%")
- os.sleep(0,5)
- print("Checking: [===== ] 90%")
- os.sleep(0,5)
- print("Checking: [======] 100%")
- print("Check complete")
- if (eyecolor == "blue") then
- print("Access granted")
- os.sleep(1)
- redstone.setOutput("back", true)
- redstone.setOutput("left", false)
- redstone.setOutput("right", false)
- else
- print("Access Denied")
- os.sleep(1)
- term.clear()
- term.setCursorPos(1,1)
- error()
- end
- os.sleep(2)
- term.clear()
- term.setCursorPos(1, 1)
- os.sleep(3)
- redstone.setOutput("back", false)
- error()
Add Comment
Please, Sign In to add comment