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

How i disable the default death sound?

Asked by
Gigaset39 111
1 year ago
Edited 1 year ago

Soo, in StarterPlayerScripts i created a LocalScript called Sounds and in it says :

                           local SOUND_DATA : { [string]: {[string]: any}} = {
                        Climbing = {
                    SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3",
                    Looped = true,
                         },
                         Died = {
                    SoundId = "rbxassetid://138144581",},  

(is exactly that one from the Players) but when a player dies i can hear both, the custom sound and the Default sound, How i disable the Default ”UGH” sound?

0
Also, on Google i found this: https://www.bbc.com/news/technology-54902039 Gigaset39 111 — 1y

2 answers

Log in to vote
0
Answered by
enes223 327 Moderation Voter
1 year ago

hey you! have you ever heard of enes? if you are in trouble, better call enes!

Ad
Log in to vote
0
Answered by 1 year ago
Edited 1 year ago

EDIT: Better way is to test your game, go to players, click on your character, go to playerscripts, take the script with sound in its name, remove the death id and replace it with your own, and put the replaced script into StarterPlayerScripts.

Old: You could put a blank script called "Sound" into "StarterCharacterScripts" but this would disable all sounds, so you might need to do make more code for walking and other stuff.

Answer this question