You were only attacking when players were near, and moving your head to track them.
This is not possible with an autoclicker for cookieclicker, also - the cookie in cookie clicker moves to prevent automatic clickers.
Auto Clickers are also not allowed.