Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function checkFuel()
- if turtle.getFuelLevel() < 300 then
- for slot = 1, 16, 1 do
- turtle.select(slot)
- turtle.refuel()
- end
- end
- end
- while(true) do
- checkFuel()
- if(redstone.getInput("front")) then
- os.sleep(10)
- end
- turtle.forward()
- os.sleep(3)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement