Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- i = 0
- a = false
- b = false
- while true do
- if turtle.attack() then
- i = i+1
- a = true
- b = true
- os.sleep(0.1)
- end
- if (i % 20) == 0 and a then
- print("Attacked:" .. i)
- a = false
- end
- if ( i % 60) == 0 and b then
- for i=3,16 do
- turtle.select(i)
- turtle.drop()
- end
- b = false
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment