darklife06

Turtle attack

Sep 22nd, 2013
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.18 KB | None | 0 0
  1. while true do
  2.     turtle.attack()
  3.     local n = turtle.getItemCount(16)
  4.     for s=1, 16 do
  5.         if n > 0 then
  6.             turtle.select(s)
  7.             turtle.dropUp()
  8.         end
  9.     end
  10.     turtle.select(1)
  11. end
Add Comment
Please, Sign In to add comment