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

How to make a currently playing music continue playing even after the player dies?

Asked by 8 years ago

So i have a music that plays when the player enters, but when the player dies, the music resets. I know that happens because it's inside StarterGui, but putting the sound in player doesn't seem to work. Help? Also, i have a options GUI so the player can change the sound volume. So keep that in mind.

0
It would be useful if we knew two things: 1: is FilteringEnabled on? 2: are you playing the sound with a LocalScript? Programmix 285 — 8y
0
No filtering Enabled. About the local script, i used local script it kinda worked, but when i die, i can't manipulate the playing sound anymore as the playergui has been reseted. DragonOfWar900 397 — 8y
0
The playergui has been reseted, so to make it not reset look at StarterGui's properties, and untick the box ResetPlayerGuiOnSpawn. NeonicPlasma 181 — 8y

2 answers

Log in to vote
0
Answered by 8 years ago

The player model is remade when the player resets, so I would advice either making a sound brick ingame, or just putting the sound it workspace. Sounds playing in the workspace will allow all players to hear.

Ad
Log in to vote
0
Answered by 8 years ago

I putted the sounds at the camera. Seem to work in Solo mode, gonna check in online mode.

Answer this question