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

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

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.

3 comments

0

It would be useful if we knew two things: 1: is FilteringEnabled on? 2: are you playing the sound with a LocalScript?

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.

0

The playergui has been reseted, so to make it not reset look at StarterGui's properties, and untick the box ResetPlayerGuiOnSpawn.

2 answers

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.

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

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