Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- term.clear()
- term.getsize()
- term.setTextColor(colors.lightBlue)
- term.setCursorPos(1,1)
- print("Please enter the Password")
- local input = read ("*")
- if input == "password" then
- redstone.setOutput("bottom", true)
- sleep(10)
- redstone.setOutput("bottom", false)
- else
- term.clear()
- term.setCursorPos(1,1)
- print("Wrong Password Bitch!, RUN!!!")
- redstone.setOutput("back", true)
- sleep(10)
- redstone.setOutput("back", false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment