77wisher77

Blaze Spawner Melee Attack

Jun 2nd, 2021 (edited)
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | None | 0 0
  1. local a = true
  2. local SLOTS = 16
  3. local count = 1
  4.  
  5. while (a==true) do
  6.   sleep(0.5)
  7.   local atk = turtle.attack()
  8.   print(atk)
  9.   count = count + 1
  10.   if (count % 256 == 0) then
  11.     print("clearing inventory")
  12.     for i = 1, SLOTS, 1 do
  13.       turtle.select(i)
  14.       turtle.dropDown()
  15.     end
  16.     count = 1
  17.   end
  18. end
Add Comment
Please, Sign In to add comment