SHARE
TWEET

Untitled

a guest Oct 12th, 2017 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     while true do
  2.     local sslot = 1
  3.     if turtle.getFuelLevel() > 0 then
  4.     turtle.select(sslot)
  5.     if turtle.getItemCount() > 0 then
  6.     turtle.forward()
  7.     turtle.digDown()
  8.     turtle.placeDown()
  9.     else
  10.     sslot = (sslot%16)+1
  11.     turtle.select(sslot)
  12.     end
  13.     else
  14.     turtle.select(16)
  15.     turtle.refuel(1)
  16.     end
  17.     sleep(1)
  18.     end
RAW Paste Data
Top