Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Coding By Bharhal from TwoGuysGaming
- --Stage One
- term.clear()
- term.setCursorPos(1,1)
- print("+-----Home------+")
- print("| BHARHAL'S |")
- print("|Enter Password:|")
- print("| HOUSE |")
- print("+---------------+")
- write("Password: ")
- local guiPass = read("*")
- --Stage Two
- if guiPass == ("test") then
- print("correct!")
- sleep(1)
- term.clear()
- redstone.setOutput("left",true)
- sleep(6)
- redstone.setOutput("left",false)
- sleep(1)
- os.reboot()
- else
- term.clear()
- term.setCursorPos(1,1)
- print("+-----Home------+")
- print("|Pass incorrect!|")
- print("+---------------+")
- sleep(2)
- os.reboot()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement