Guest User

mine

a guest
Sep 8th, 2012
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.43 KB | None | 0 0
  1. print("Mining started! Back after 40 blocks")
  2. for i=1,40 do
  3. if turtle.detect() then
  4.    turtle.dig()
  5. end
  6. turtle.forward()
  7. if turtle.detectUp() then
  8.    turtle.digUp()
  9. end
  10. if turtle.detectDown() then
  11.    turtle.digDown()
  12. end
  13. end
  14. turtle.turnLeft()
  15. turtle.turnLeft()
  16. for i=1,300 do
  17. if turtle.detect() then
  18.    turtle.dig()
  19. end
  20. turtle.forward()
  21.    if turtle.compareDown() then
  22.    break
  23. end
  24. end
  25. print("Now grab your stuff ^^")
Advertisement
Add Comment
Please, Sign In to add comment