Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- turtle.select(1)
- if turtle.compareDown() == false then
- turtle.select(2)
- if turtle.compareDown() then
- turtle.turnRight()
- turtle.turnRight()
- turtle.forward()
- turtle.turnRight()
- end
- turtle.select(3)
- if turtle.compareDown() then
- while turtle.detectUp() == false do
- turtle.up()
- end
- end
- if turtle.detect() == false then
- turtle.forward()
- else
- turtle.turnLeft()
- if turtle.detect() == false then
- turtle.forward()
- else
- turtle.turnRight()
- turtle.turnRight()
- turtle.forward()
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement