Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function finish()
- if turtle.compareDown() == true then
- computer.shutdown(1)
- end
- end
- function test()
- finish()
- if turtle.detect() == false then
- turtle.forward()
- shell.run('maze')
- end
- end
- turtle.turnLeft()
- test()
- turtle.turnRight()
- test()
- turtle.turnRight()
- test()
- turtle.turnRight()
- test()
- print("ERROR")
Advertisement
Add Comment
Please, Sign In to add comment