An end effector that mounts to a robot and discharges animal treating fluid onto the teats of a milking animal includes a rigid inner arm section and a flexible outer arm section, and a camera with a front window. An inner end portion of the inner arm section is mountable to the robot, the inner end portion of the outer arm section is rigidly connected to outer end portion of the inner arm section, the camera is mounted on an upper side of the inner arm section with the front window facing the outer arm section, and the outer arm section is provided with at least one nozzle in the outer end portion, the nozzle being directed upwards such that animal treating fluid can be discharged through the nozzle and upwards towards a teat of a milking animal during use of the robot.