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

Music wont play?

Asked by
Vid_eo 126
8 years ago

I put music in my place (I even put the correct Id, and looped it) Yet it wont play! Here's the script"

S1 = game.Workspace.Sound

S1:Play()


3 answers

Log in to vote
3
Answered by
4Bros 550 Moderation Voter
8 years ago

Make sure the soundid property looks somewhat like this: rbxassetid://(soundid) or http://www.roblox.com/asset/?id=(soundid)

ex: http://www.roblox.com/asset/?id=1337

If the sound is still being under review by the mods then it won't play.

Check the volume property and see if it's high enough to be heard, and check if it's properly in the workspace without any other sound instances.

0
I checked everything, there is one other sound, but it's in the starter GUI Vid_eo 126 — 8y
0
Hmm, is the script you're playing the sound with disabled? 4Bros 550 — 8y
0
Nope Vid_eo 126 — 8y
Ad
Log in to vote
0
Answered by
Reselim 35
8 years ago

Make sure the sound isn't removed by the mods, your sound isn't muted, the song has a volume that is over 0, and the song is playing in Workspace, or a Player, not a part.

Log in to vote
-2
Answered by
iSvenDerp 233 Moderation Voter
8 years ago

Hi..I use a much simpler case for this so here it is First put the sound in workspace and name it Sound that way u know excacty what your talking about

game.Workspace.Sound:Play()--so what we did is we are simply using the Play() function and we are obviously using it on the sound in workspace.

Also make sure u use the Asset Id this way the sound will work and we can play it. Here are some possible solutions why it isn't working wrong id number, the sound no longer exist, your volume is all the way down, the script isn't in workspace. I hope this helped:) let me know if it did.

Answer this question