SHARE
TWEET

Lava

Oeed Jul 13th, 2016 (edited) 30 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. turtle.select(1)
  2. local n = 1
  3. while true do
  4. for i = 1, 45 do
  5.   turtle.placeDown()
  6.   turtle.refuel()
  7.   turtle.forward()
  8. end
  9. local turn
  10. if n % 2 == 1 then
  11. turn = turtle.turnRight
  12. else
  13. turn = turtle.turnLeft
  14. end
  15. turn()
  16. turtle.forward()
  17. turn()
  18. if turtle.getFuelLevel() > 499950 and n % 2 == 0 then
  19.   error("Done")
  20. end
  21. sleep(5)
  22. n = n + 1
  23. 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