Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Password = "hello"
- Side = "back"
- function Clear()
- term.setCursorPos(1,1)
- term.clear()
- end
- function RS(which)
- rs.setOutput(Side, which)
- end
- while true do
- --Clear()
- write("Password: ")
- ignore,check = pcall(read)
- print(ignore, check)
- if check == Password then
- RS(true)
- sleep(5)
- RS(false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment