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

How to disable the character death sound?

Asked by
Paradoa 17
4 years ago
Edited 4 years ago

So, what I want to do is to remove the oof sound when the player dies. But when I run this script, the output says "Died is not a part of head" or something along that line.

1game.Players.PlayerAdded:connect(function(player)
2    player.CharacterAdded:connect(function(character)
3        wait(1)
4        character.Head.Died:Remove()
5    end)
6end)

1 answer

Log in to vote
2
Answered by 4 years ago
Edited 4 years ago

Put this in StarterCharacterScripts :

1local OOF = script.Parent:WaitForChild("HumanoidRootPart"):WaitForChild("Died")
2OOF.Volume = 0

( this was edited )

0
It's not working. The output says nothing but the OOF sound can still be heard. Paradoa 17 — 4y
0
i edited the script because i made an error i'm pretty sure. - try it now, should wait for humanoidrootpart and the died sound GoreDemons 215 — 4y
Ad

Answer this question