Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

(Awnserd by my self) Any Better methods for sound regions?

Im trying to make sound Regions so, I added a part and and a sound to StarterGui. Then in the part i added a script that fired an event and played the music from the player PlayerGui. The only problem is that when ever the player dies/resets the music stops. I know this happens because everything in the player will reset when ever the player dies. But the problem is, I don't know any other way of doing this that will not reset. If you answer this i would appreciate if you explain the script or method. Thank You!

1 answer

i think you need to play the sound on character added, as it will play when they respawn

its .characterAdded()

4 comments

0

how would I put that when the player hits the part though?

0

maybe you could have a boolvalue that represents whether or not music should be playing. if it should, then play it on character added. the value can be changed via the brick

0

ill try that

0

ok, if it works please accept:). also im a lil confused, does the part need to be touched for music to play or are you just keeping the script in the part? i assume the first one

This discussion is preserved as it was. New answers, comments, and votes are closed.