Auto attack implement client side