I already did the sound effect and script ready to play on death. But How would I also be able to get rid of the current ROBLOX death sound so it would ONLY be the sound effect I choose?
game.Players.PlayerAdded:connect(function(Player) Player.CharacterAdded:connect(function(Character) if (Character['Head) then for _, v in pairs (Character['Head']:GetChildren()) do if v:IsA("Sound") then if v.soundId == 'rbxasset://sounds/uuhhh.mp3' then v.soundId = ' ' end end end end end) end)
All of the sounds a character has is store in the character's head. The above code runs through all of the sounds in the character's head, and finds the death animation and sets it to nil. That way, when your character dies, there will be no more cringey stock noise :D
Remember to accept the answer if it helped you