SHARE
TWEET

mining.lua

a guest Apr 25th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local x =40
  2.  
  3. shell.run("tunnel "..x)
  4. turtle.turnLeft()
  5. turtle.turnLeft()
  6.  
  7. local p=0
  8.  
  9. for i=2, x do
  10.     turtle.forward()
  11.     if p == 5 then
  12.         turtle.turnLeft()
  13.         turtle.select(2)
  14.         turtle.place()
  15.         turtle.turnRight()
  16.         p=0
  17.     end
  18.     p=p+1
  19. end
  20. turtle.turnLeft()
  21. turtle.turnLeft()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top