G2A Many GEOs
SHARE
TWEET

var

a guest Apr 7th, 2020 254 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local i,j
  2. i=1
  3. j=1
  4. local x
  5. local n
  6. n=5
  7. x=1
  8. while x<= n do
  9. i=1
  10. while i<=n do
  11. j=1
  12.   while j<=n-1 do
  13.   ok=0
  14.    local a,x=turtle.inspect()
  15.    a=x.name
  16.    if a=="minecraft:bedrock" then
  17.    if j<n-1 then
  18.    turtle.up()
  19.    turtle.forward()
  20.    turtle.forward()
  21.    turtle.digDown()
  22.    turtle.down()
  23.    j=j+1
  24.    else
  25.    turtle.up()
  26.    turtle.forward()
  27.    local ok=1
  28.    end
  29.    else turtle.dig()
  30.    turtle.forward()
  31.    end
  32.     j=j+1
  33.     end
  34.  if i==5 then
  35.  turtle.turnRight()
  36.  turtle.turnRight()
  37.  else
  38.  if i%2==0 then
  39.    turtle.turnLeft()
  40.    turtle.dig()
  41.    turtle.forward()
  42.    turtle.turnLeft()
  43.   else
  44.   if ok==1 then
  45.   turtle.turnRight()
  46.   turtle.forward()
  47.   turtle.digDown()
  48.   turtle.turnRight()
  49.   turtle.down()
  50.   else
  51.     turtle.turnRight()
  52.     turtle.dig()
  53.     turtle.forward()
  54.     turtle.turnRight()
  55.     end
  56.     end
  57.     end
  58.    i=i+1
  59.    end
  60. turtle.digDown()
  61. turtle.down()
  62. x=x+1
  63. end
RAW Paste Data
Ledger Nano X - The secure hardware wallet
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