I am playing 2 sounds from SoundScape, called Fail And Victory. When I run
game.Soundscape.Victory:Play()
From the command line, it works and I can here the sound. This doesn't work in test server mode, or in game (while in a script.) Help?
This is a bit more complicated then you were expecting, but it allows you to make other scripts that can tie into this;
Toggle = script.Toggle Victory = game.Soundscape.Victory Victory.Parent = game.Workspace if Toggle.Value == 1 then --Change this to whatever your NumberValue is, and it'll work wait(1) Victory:Play() end
After making the script with this code, insert a 'NumberValue' into the script and then change the number to whatever you want. If you have questions, reply to this.
It should work if you do it from workspace like
game.Workspace."Sounds name":Play()