G2A Many GEOs
SHARE
TWEET

chop.lua

a guest Apr 9th, 2020 166 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function refuel()
  2.     turtle.select(2)
  3.     turtle.refuel(1)
  4.     turtle.select(1)
  5. end
  6. function dig()    
  7.     turtle.dig()
  8.     turtle.forward()
  9.     turtle.digDown()
  10.  
  11.     for i=1, 5, 1 do
  12.         turtle.digUp()
  13.         turtle.up()
  14.     end
  15.  
  16.     for i =1, 5, 1 do
  17.         turtle.dig()
  18.         turtle.turnLeft()
  19.         turtle.dig()
  20.         turtle.turnLeft()
  21.         turtle.dig()
  22.         turtle.turnLeft()
  23.         turtle.dig()
  24.         turtle.turnLeft()
  25.         turtle.down()
  26.     end
  27.     turtle.select(1)
  28.     turtle.placeDown()
  29.     turtle.back()
  30.     refuel()
  31.     turtle.select(2)
  32.     turtle.dropDown()
  33. end
  34.  
  35. while true do
  36.    
  37.     if turtle.detect() then
  38.         dig()
  39.     end
  40. 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