mpw

CC-AttackSkript

mpw
Aug 8th, 2014
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. i = 0
  2. a = false
  3. b = false
  4. while true do
  5.     if turtle.attack() then
  6.         i = i+1
  7.         a = true
  8.         b = true
  9.   os.sleep(0.1)
  10.     end
  11.     if (i % 20) == 0 and a then
  12.         print("Attacked:" .. i)
  13.         a = false
  14.     end
  15.     if ( i % 60) == 0 and b then
  16.         for i=3,16 do
  17.             turtle.select(i)
  18.             turtle.drop()
  19.         end
  20.         b = false
  21.     end
  22. end
Advertisement
Add Comment
Please, Sign In to add comment