Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- term.clear()
- term.setCursorPos(1,1)
- password = "1775"
- mon = peripheral.wrap("top")
- mon.clear()
- mon.setCursorPos(6,3)
- mon.setTextScale(.5)
- mon.write("Fish's")
- mon.setCursorPos(1,4)
- mon.write("Computer Status")
- mon.setCursorPos(8,5)
- mon.write("=")
- mon.setCursorPos(6,6)
- mon.write("Locked")
- print("Enter Password Below")
- function trolol()
- write("Password: ")
- aba = read("*")
- if aba == password then
- shell.run("clear")
- textutils.slowPrint("Access Granted.")
- textutils.slowPrint("Computer unlocked.")
- sleep(1)
- shell.run("clear")
- print("Hello F15H!")
- shell.run("time")
- mon.setCursorPos(5,6)
- mon.write("Unlocked")
- else
- shell.run("clear")
- print("Incorrect password. Please try again.")
- trolol()
- end
- end
- trolol()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement