Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- print("Running Gatekeeper protocol.")
- while true do
- if turtle.detectUp() then
- redstone.setOutput("front", true)
- elseif not turtle.detectUp() then
- redstone.setOutput("front", false)
- end
- os.sleep(3)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement