Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function clear_inventory()
- for i = 1,16 do
- if(turtle.getItemCount(i)>0)then
- turtle.select(i)
- turtle.dropDown()
- end
- end
- turtle.select(1)
- end
- while(42)do
- turtle.attack()
- clear_inventory()
- sleep(0.5)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement