SHARE
TWEET

Untitled

a guest Jan 17th, 2020 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. turtle.select(1)
  2. turtle.refuel(1)
  3. local counter = 0
  4. local counter2 = 0
  5. local counter3 = 0
  6.  
  7. while counter3 ~= 9 do
  8.     turtle.select(2)
  9.     turtle.digDown()
  10.     turtle.placeDown()
  11.     turtle.forward();
  12.     counter = counter + 1
  13.    
  14.     if counter == 8 then
  15.         if counter2 == 0 then
  16.             turtle.turnLeft()
  17.             turtle.digDown()
  18.             turtle.placeDown()
  19.             turtle.forward()
  20.             turtle.turnLeft()
  21.             counter2 = 1
  22.         elseif counter2 == 1 then
  23.             turtle.turnRight()
  24.             turtle.digDown()
  25.             turtle.placeDown()
  26.             turtle.forward()
  27.             turtle.turnRight()
  28.             counter2 = 0
  29.         end
  30.         counter3 = counter3 + 1
  31.         counter = 0
  32.     end
  33. 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