#any1 know how to remove roblox default death noise?

1 messages · Page 1 of 1 (latest)

worldly cobalt
#

this is my script rn

game.Players.PlayerAdded:Connect(function(player)
    player.CharacterAdded:Connect(function(character)
        local humanoid = character:WaitForChild("Humanoid")
        local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
        humanoid.Died:Connect(function()
            local customDeathSound = Instance.new("Sound")
            customDeathSound.SoundId = "rbxassetid://93875106747040"
            customDeathSound.Volume = 1
            customDeathSound.Parent = humanoidRootPart
            customDeathSound:Play()
        end)
    end)
end)
surreal arch
worldly cobalt
#

doesnt work when I try to do it

ashen heathBOT
#

studio** You are now Level 4! **studio

worldly cobalt
#

also tried it by script

--!nonstrict
-- Roblox character sound script

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local SoundService = game:GetService("SoundService")

local AtomicBinding = require(script:WaitForChild("AtomicBinding"))

type Playable = Sound | AudioPlayer

local function loadFlag(flag: string)
    local success, result = pcall(function()
        return UserSettings():IsUserFeatureEnabled(flag)
    end)
    return success and result
end

local FFlagUserSoundsUseRelativeVelocity = loadFlag('UserSoundsUseRelativeVelocity2')
local FFlagFixFreeFallingSound = loadFlag('UserFixFreeFallingSound')
local FFlagUserNewCharacterSoundsApi = loadFlag('UserNewCharacterSoundsApi3')

local SOUND_DATA : { [string]: {[string]: any}} = {
    Climbing = {
        SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3",
        Looped = true,
    },
    FreeFalling = {
        SoundId = if FFlagFixFreeFallingSound

and changed the sound id but still doesnt work (and even deleted the died

lethal yew
#

can you just wait for the humanoidroot part and change the sound id

#

or is it being overriden

worldly cobalt
#

its being overriden