daily pastebin goal
37%
SHARE
TWEET

MiningTurtle

a guest Aug 17th, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. q = 1
  2. for i=1, 5 do
  3.     for j=1, i do
  4.         turtle.forward()
  5.     end
  6.     turtle.turnLeft()
  7.     turtle.dig()
  8.     turtle.forward()
  9.     for k=1, 30 do
  10.         turtle.digUp()
  11.         turtle.dig()
  12.         turtle.digDown()
  13.         while turtle.detectUp() do
  14.             turtle.digUp()
  15.         end
  16.         q = q + 1
  17.         if q == 5 then
  18.             turtle.select(16)
  19.             turtle.placeDown()
  20.         elseif q == 10 then
  21.             turtle.select(16)
  22.             turtle.placeDown()
  23.         elseif q == 15 then
  24.             turtle.select(16)
  25.             turtle.placeDown()
  26.         elseif q == 25 then
  27.             turtle.select(16)
  28.             turtle.placeDown()
  29.         elseif q == 30 then
  30.             turtle.select(16)
  31.             turtle.placeDown()
  32.         end
  33.         turtle.forward()
  34.     end
  35.     turtle.turnRight()
  36.     turtle.turnRight()
  37.     while turtle.detect() == false do
  38.         turtle.forward()
  39.     end
  40.     turtle.turnRight()
  41.     while turtle.detect() == false do
  42.         turtle.forward()
  43.     end
  44.     for l=1 ,15 do
  45.         turtle.select(l)
  46.         turtle.drop()
  47.     end
  48.     turtle.turnRight()
  49.     turtle.turnRight()
  50. end
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