while wait(1) do
print('check')
if game.Lighting.ClockTime >= 18 and not game.SoundService.Crickets.Playing then
print("this")
game.SoundService.Crickets:Play()
game.SoundService.AmbientDay:Stop()
print("action taken1")
elseif game.Lighting.ClockTime < 18 and not game.SoundService.AmbientDay.Playing then
print("that")
game.SoundService.AmbientDay:Play()
game.SoundService.Crickets:Stop()
print('action taken2')
end
end
It prints everything but won’t play the sounds