im trying to play a sound when a value is equal to or greater then something but when i play the game the audio plays and doesn't work after Code:
temp = workspace.Values.Temp audio = workspace.Values.Audio
wait(1) temp.Changed:connect(function() if temp.Value < 3449 then audio.TempWarning:Play() elseif temp.Value > 3500 then audio.TempWarning:Stop() end end)
use game.Workspace, local temp, local audio and use a normal script
wait() will malfunction