Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --name Tree
- --version 1.1
- local height = 0
- turtle.dig()
- turtle.forward()
- turtle.dig()
- while turtle.compareUp() do
- turtle.digUp()
- turtle.up()
- turtle.dig()
- height = height + 1
- end
- turtle.turnRight()
- turtle.dig()
- turtle.forward()
- turtle.turnLeft()
- turtle.dig()
- for i = 1,height do
- turtle.digDown()
- turtle.down()
- turtle.dig()
- end
Advertisement
Add Comment
Please, Sign In to add comment