"Running" Sound from HumanoidRootPart Plays Randomly After Disabling RbxCharacterSounds

The “Running” sound from the character’s HumanoidRootPart plays randomly despite all the attempts to disable/destroy it after disabling RbxCharacterSounds.

Reproduction Steps

  1. Open your Roblox Studio application.
  2. Create a new Baseplate.
  3. Go to the Explorer tab and create a LocalScript at StarterPlayer > StarterCharacterScripts.
  4. Execute the code to disable RbxCharacterSounds, including the “Running” sound.
--[Services]--
local Players = game:GetService("Players")

local Player = Players.LocalPlayer

local PlayerScripts = Player:WaitForChild("PlayerScripts")

if PlayerScripts then
	
	print(PlayerScripts)
	
end

--[RbxCharacterSounds]--
local RbxCharacterSounds = PlayerScripts:FindFirstChild("RbxCharacterSounds")

if RbxCharacterSounds then
	
	RbxCharacterSounds.Enabled = false
	
	RbxCharacterSounds:Destroy()
	
	print(RbxCharacterSounds)
	
	print(RbxCharacterSounds.Enabled)
	
end

--[Character]--
local function onCharacterAdded(character)
	
	for _, descendant in ipairs(character:GetDescendants()) do
		
		if descendant:IsA("HumanoidRootPart") then
			
			for _, sound in ipairs(descendant:GetDescendants()) do
				
				if sound:IsA("Sound") and (sound.Name == "Running") then

					sound:Destroy()

					sound.SoundId = "rbxassetid://0"
					
					print(sound)
					
					print(sound.Name)
					
					print(sound.SoundId)
					
				end
				
			end
			
		end
		
	end
	
end

game.Players.PlayerAdded:Connect(function(player)
	
	player.CharacterAdded:Connect(function(character)
		
		onCharacterAdded(character)
		
	end)
	
	if player.Character then
		
		onCharacterAdded(player.Character)
		
	end
	
end)
  1. Engage in gameplay activities, such as moving the character around the game environment.
  2. Observe that the “Running” sound unexpectedly plays from the character’s HumanoidRootPart at random intervals during gameplay, despite being disabled by the script.

Beta Features:

I have all the beta features enabled by having the “Auto-Enable Upcoming Features” activated.

System Information:

Roblox Studio Version: 0.620.0.6200463 (64bit)

Reproduction Files:

Roblox Studio Bug Report Place.rbxl (63.4 KB)

Expected Behavior

I expected that it would turn off all of the sounds, and only play from the other LocalScript.

1 Like

Thanks for the report! We’ll follow up when we have an update for you.

1 Like

Necroposting as this bug it is still occuring

1 Like

To remove character sounds you need to make a local script called RbxCharacterSounds in local player scripts and disable it
When other player character is added, it will not be fully loaded, try adding character.DescendantAdded event
So now it appears that this is not a bug

Hey @LvieReal! How are you?

I tested this out and it worked! However, this seems to be a workaround rather than a 100% solved problem…

This is how Roblox handles default scripts, you can also just copy RbxCharacterSounds while in game from starter player scripts and modify it with your own sounds

Hey @JuanGamerPlayz_RBLX ; @LvieReal is correct – the default character sounds script runs once on startup, and sets up a bunch of connections to play sounds in response to your character’s state-change events.

Running an additional script cannot fully disable that, unless it got references to all of those connections and disconnected them – that is, deleting the sounds is not enough. Instead, it’s more robust to replace the script altogether, to prevent those connections from being made in the firstplace

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.