Blinking 3 LED's with one button using mills instead delays

I did not work, many things are wrong in my code. I need this code working and I thought I could do it but no, I have the hardware ready, just waiting for the code, I need to control 12v pump with a relay in five different cycles as I mentioned, I could complete the same goal with 5 nano boards and a 5 position switch selector but I think is a waste of boards since one program can control the relay in 5 different ways. Do you know someone who does this for a living and charges me to make this code?