If you see the warning it doesn't only mean you crouched after shooting. It means you crouched after shooting and skipped the cool-down animation. That's exactly what the script is supposed to detect, and it's working as it should. Try to crouch after the animation is completed and no warnings will be issued