Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- num = 1
- function attack()
- turtle.attack()
- check()
- sleep(.1)
- turtle.suck()
- end
- function check()
- if turtle.getItemCount(16) > 0 then
- turtle.turnRight()
- for i = 1, 16 do
- turtle.select(num)
- turtle.drop()
- num = num + 1
- end
- num = 1
- turtle.turnLeft()
- turtle.select(1)
- end
- end
- while true do
- attack()
- end
Add Comment
Please, Sign In to add comment