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

Do ambient sounds not work?

Asked by 9 years ago

In a map I am currently making, I want to have rain playing in ambiently in the background. I have the sound and the script in the workspace. When I run or play solo, it doesn't work. The storm script I have, which makes the lighting change and the thunder sound boom, does what it's supposed to do.

Here's the script: script.parent.Rain:Play()

I've looked it up in several other questions, but none have told me why. At this point I'm completely lost as to why it isn't working.

1 answer

Log in to vote
1
Answered by 9 years ago

You put script.parent.Rain:Play()

It is suppost to be Parent.

0
Really? Dangit... DiscoStriker 20 — 9y
0
Come back to me if this doesn't Work :) If this doesn't work. Try game.Workspace.SoundName:Play() WelpNathan 307 — 9y
0
It worked. Turns out I'm just an idiot. DiscoStriker 20 — 9y
0
Ahh, don't call yourself an idiot. You just learned something. :) WelpNathan 307 — 9y
Ad

Answer this question