Using an op amp as a voltage comparator

LED3 and LED4 are wired incorrectly, you cannot mix your 12 volt and 5 volt supplies in that way. The LED’s need to be powered from the 12volt rail with the appropriately higher value resistor. You’ve also omitted the very necessary free wheeling diodes across the relay coils. The PNP transistors may/will fail in short order, depending upon the device type.

PS: please don’t promote bad schematic habits with Fritizing, like drawing diodes and ground symbols upside down. That software is a waste of everybody’s time and energy. Either use a real schematic editor or draw them by hand which highly preferable over fritzzy silliness.