I've tried tons of things to figure this out, but I can't seem to do it. I want to detect if the sound id is invalid so it will tell the user.
play.MouseButton1Click:connect(function()
sound.SoundId = "rbxassetid://"..soundIdhere.Text
sound.Playing = true
Status.Text = "Song playing!"
end)
There's a snippet of the script.

1 comment
refer to this https://scriptinghelpers.org/questions/36811/how-do-i-test-whether-a-soundid-in-a-script-is-valid