local crickets = game.Workspace:WaitForChild("Crickets") local Time = game.Lighting.ClockTime game.Lighting:GetPropertyChangedSignal("ClockTime"):Connect(function() if Time == 18 then crickets:Play() elseif Time == 6 then crickets:Stop() end end)
I don't get any errors, but the sound isn't playing at all. I tried it with a script aswell, but still doesn't work.
You are checking wrong, you should check what property was changed:
local crickets = game.Workspace:WaitForChild("Crickets") local Time = game.Lighting.ClockTime game.Lighting.Changed:Connect(function(property) -- //Use .Changed and in (property) if property == "ClockTime" then -- //Checks if changed property was "ClockTime" if Time == 18 then crickets:Play() elseif Time == 6 then crickets:Stop() end end end)