Solenoid cuircut in parallel

When posting code, use the # icon in the reply box and past it between the brackets.

This line never got past the compiler:-
and if (serialvalue == 60){

will it start back at the top of void loop after or will it continue through the rest of void loop?

It will continue doing the rest of the loop.

You don't have to say void loop because void simply means it doesn't return a value.

For a better way of writing this see:-
http://www.thebox.myzen.co.uk/Hardware/Glockenspiel.html