You need some changes in you coding. use connection carefully . your obstacle sensor is connected with RA3, water sensor with RA2, dark sensor with RA0, buzzer with RB2 & vibrator with RB3 as per your circuit diagram. use this connection all where. you have used RB3 for your buzzer while switching on & RB2 for buzzer while switching of. again use code if and else for all the condition. try the and tell me what happen.