SHARE
TWEET

Wood2

xFlyDr May 23rd, 2019 (edited) 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. a=30
  2.  
  3. while 1 == 1 do
  4.  
  5. turtle.select(15)
  6. turtle.refuel(64)
  7.  
  8. print("The fuel level is: "..turtle.getFuelLevel())
  9.  
  10. turtle.select(16)
  11. turtle.place()
  12. turtle.up()
  13.  
  14. while not turtle.detect() do
  15. os.sleep(number timeout)
  16. end
  17.  
  18. turtle.down()
  19.  
  20. turtle.dig()
  21. turtle.forward()
  22.  
  23. for i = 0, a do
  24.  
  25. turtle.digUp()
  26. turtle.up()
  27.  
  28. end
  29.  
  30. for i = 0, a do
  31.  
  32. turtle.digDown()
  33. turtle.down()
  34.  
  35. end
  36.  
  37. turtle.back()
  38.  
  39. 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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top