Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

why cannot i load a sound through soundid?

Asked by 4 years ago

I am trying to do a plugin when you can play sounds and i am up to the step to load the sounds. when i enter "rbxassetid://1238092370", it says 17:55:52.113 - Error: cannot load music!. What do I do?

        script.Parent.Sound.SoundId = script.Parent.Tune.Value

            local sound = script.Parent.Sound
            if not sound.IsLoaded then
    wait(5)
if not sound.IsLoaded then
    warn("Error: cannot load music!")
else
    print("music loaded!")
end
            else
                print("music loaded!")
            end

Answer this question