help with coin op Project

Which is to say, you want the sketch to do something while the relay is activated - you would like it to listen for more coins.

Go look at the "blink without delay" example. Search for the "two things at once" post.