CDS - Cat Defense System (Arduino + Servo + Motion Sensor)

as our cat tries to drive us crazy for a while now and as my wife is pregnant and should get a little sleep as long as she can, I thought about building some kind of Cat Defense System consisting of a spray bottle filled with water, an arduino, a MG996R Servo and a HC-SR501 PIR motion sensor.