Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local diskname = "Hotel KeyCard"
- while true do
- term.clear()
- term.setCursorPos(1,1)
- print("Awaiting Access Key")
- local diskloc = disk.getLabel("left")
- if diskloc==diskname then
- term.clear()
- term.setCursorPos(1,1)
- write("Exit Granted. Access Key Destroyed")
- redstone.setOutput("bottom", true)
- sleep(6)
- redstone.setOutput("bottom", false)
- end
- sleep(3)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement