a guest Aug 25th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- local doorLocation = "side_goes_here"
- local password = "password_goes_here"
- local sleepTime = time_in_seconds
- while true do
- write("Enter the password: ")
- input = read("*")
- if input == password then
- print("Password Correct!")
- redstone.setOutput(doorLocation, true)
- redstone.setOutput(doorLocation, false)
- print("Incorrect Password! Try again!")
RAW Paste Data