SHARE
TWEET

MyComputerCraft

mastahslayah Jan 12th, 2017 (edited) 95 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local TreeHeight = 7
  2.  
  3. function Mine(height)
  4.     turtle.dig()
  5.     turtle.forward()
  6.  
  7.     for i=1,height do
  8.         turtle.digUp()
  9.         turtle.up()
  10.     end
  11.    
  12.     for i=1,height do
  13.         turtle.down()
  14.     end
  15. end
  16.  
  17. Mine(TreeHeight)
  18. Mine(TreeHeight)
  19. turtle.turnRight()
  20. Mine(TreeHeight)
  21. turtle.turnRight()
  22. Mine(TreeHeight)
RAW Paste Data
Top