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.

game.Players.PlayerAdded:connect(function(player)
    player.CharacterAdded:connect(function(character)
        wait(1)
        character.Head.Died:Remove()
    end)
end)

1 answer

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

Put this in StarterCharacterScripts :

local OOF = script.Parent:WaitForChild("HumanoidRootPart"):WaitForChild("Died") 
OOF.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