Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- f = 0
- b = 1
- turtle.select(16)
- turtle.refuel()
- turtle.select(1)
- function ClearScreen()
- term.clear()
- term.setCursorPos(1,1)
- end
- function NoBlock()
- b = b+1
- turtle.select(b)
- end
- local cycles = 0
- print("How long do you want it to run?")
- cycles = read()
- for i = 0, cycles do
- turtle.up()
- turtle.placeDown()
- if turtle.getItemCount(b) == 0 then
- NoBlock()
- end
- turtle.up()
- turtle.placeDown()
- if turtle.getItemCount(b) == 0 then
- NoBlock()
- end
- turtle.back()
- turtle.place()
- if turtle.getItemCount(b) == 0 then
- NoBlock()
- end
- turtle.down()
- turtle.placeUp()
- if turtle.getItemCount(b) == 0 then
- NoBlock()
- end
- turtle.down()
- turtle.placeUp()
- if turtle.getItemCount(b) == 0 then
- NoBlock()
- end
- turtle.back()
- turtle.place()
- if turtle.getItemCount(b) == 0 then
- NoBlock()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement