Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- write("Distance: ")
- local d=tonumber(read())
- print("Starting Tunnel")
- while d > 0 do
- turtle.forward()
- turtle.placeDown()
- turtle.turnLeft()
- turtle.place()
- turtle.up()
- turtle.place()
- turtle.placeUp()
- turtle.turnRight()
- turtle.turnRight()
- turtle.place()
- turtle.down()
- turtle.place()
- turtle.turnLeft()
- d= d - 1
- end
- print("Finished")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement