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