Problem with indicators and hazard lights.

Hey community,

Today i tried to make working indicators and hazard lights, and it worked perfectly but the problem i have is when the right indicator is on and you press the button for the left indicator, the right indicator is still on so. I tried to make it but without any luck. To clear out what i want. For example when the right indicator is on and you press the key for the left indicator, left is gonna turn off or when the hazard lights is on, left and right are going to flashing at the same time. (if you don’t understand, i can upload a video so you can understand what i mean and what i want to do)