Michitakaa2018

mine2

May 28th, 2015
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. function mining()
  2.  for k=1,1 do
  3.   turtle.digUp()
  4.   turtle.up()
  5.   turtle.dowm()
  6.  end
  7. end
  8.  
  9. function mining3(a)
  10.  for k=1,a do
  11.   mining()
  12.   turtle.dig()
  13.   turtle.forward()
  14.   turtle.turnRight()
  15.   turtle.dig()
  16.   turtle.place()
  17.   turtle.turnLeft()
  18.   turtle.turnLeft()
  19.   turtle.dig()
  20.   turtle.place()
  21.   turtle.turnRight()
  22.   turtle.digUp()
  23.  end
  24. end
  25.  
  26. mining3()
Advertisement
Add Comment
Please, Sign In to add comment