Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local i=1
- local slotNum=0
- x=tonumber(io.read())
- turtle.select(1)
- repeat
- while turtle.getItemCount() == 0 do
- slotNum = slotNum + 1
- turtle.select(slotNum)
- end
- turtle.up()
- turtle.placeDown()
- i=i+1
- sleep(0.1)
- until i == x
- turtle.forward()
- repeat
- turtle.down()
- i = i-1
- until i == 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement