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

how to make sound that it plays without stopping when youre dead?

Asked by
lyxture 27
8 years ago

i have a local script in the starter gui local script: play.Game.Sound:play() but it restarts every time when i die or some1 else dies can anybody help me plz ;-;

0
You can put the sound directly in the Workspace and use a server script (maybe local too, haven't tried) and it shouldn't reset. TheStudentPilot 75 — 8y
0
ty lyxture 27 — 8y

1 answer

Log in to vote
0
Answered by
DanzLua 2879 Moderation Voter Community Moderator
8 years ago

Well like @TheStudentPilot said you can put it in the workspace and have everyone hear it so that when one player dies it wouldn't reset. But everyone will hear it so if you want certain sounds for certain people this way isn't for you. You can also do this, make a script in startergui and put this in it

game.StarterGui.ResetPlayerGuiOnSpawn = false

this will make it so that when a player dies, **ALL ** of his guis will not reset. This means that your sound will not reset when he dies. But if you have guis that you would like to reset when he dies i don't suggest using that way.

Hope this helped :)

0
thank you im going to try it lyxture 27 — 8y
Ad

Answer this question