Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local a = true
- local SLOTS = 16
- local count = 1
- while (a==true) do
- sleep(0.5)
- local atk = turtle.attack()
- print(atk)
- count = count + 1
- if (count % 256 == 0) then
- print("clearing inventory")
- for i = 1, SLOTS, 1 do
- turtle.select(i)
- turtle.dropDown()
- end
- count = 1
- end
- end
Add Comment
Please, Sign In to add comment