Advertisement
Vekseid

Simple turtle attack script

Sep 16th, 2013
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. while true do
  2.   while not redstone.getInput("back") do
  3.     turtle.attack()
  4.     while turtle.suck() do
  5.     end
  6.     for i=1,16 do
  7.       if turtle.getItemCount(i) > 0
  8.         turtle.select(i)
  9.         turtle.dropDown()
  10.       end
  11.     end
  12.     sleep(.1)
  13.   end
  14.   sleep(.3)
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement