Playing background music based on time of day

I’m having problems with the playing sound variable connecting to the sound variable before the != node. What am i doing wrong?