Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- term.clear()
- term.setCursorPos(1,1)
- print("Hampton Door Security 1.0")
- print("UserName: HeroHitt")
- write("Password: ")
- function pass()
- t = io.read()
- if t == "letusin" then
- print ("Access Granted.")
- redstone.setOutput("right", true)
- sleep(1)
- redstone.setOutput("right", false)
- term.clear()
- term.setCursorPos(1,1)
- print("Hampton Computer Security 1.0")
- print("UserName: HeroHitt")
- write("Password: ")
- pass()
- else
- print ("Incorrect Login Details.")
- sleep(1)
- term.clear()
- term.setCursorPos(1,1)
- print("Hampton Computer Security 1.0")
- print("UserName: HeroHitt")
- write("Password: ")
- pass()
- end
- end
- pass()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement