sasaa86

Computercraft Turtle attack and dump items script

Aug 22nd, 2017
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. while true do
  2.   while turtle.attack() do
  3.     sleep(0.2)
  4.     if turtle.getItemCount(16) != 0 then
  5.       for i=1,16 do
  6.         turtle.select(i)
  7.         turtle.dropDown()
  8.       end
  9.     end
  10.     sleep(0.2)
  11.   end
  12. end
Add Comment
Please, Sign In to add comment