Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How Do I Remove Walking Sounds?

How Do I Fully Remove Walking Sounds, I've tried my best to remove them with local scripts that are placed inside starter player scripts here they are

function onPlayerEntered(newPlayer)
wait()
newPlayer.Character.Sound:Remove()
end

game.Players.PlayerAdded:connect(onPlayerEntered)

1 comment

0

Do you want it to be where only one player can't hear it, or where everybody in the server cannot hear footsteps?

2 answers

✓ Accepted answer

Please accept my answer so i can get reputation, thank you!

Sometimes sounds are stored in the head or in the humanoid root part.

Just use this in a LocalScript:

local plr = game.Players.LocalPlayer
-- defining local player
local char = plr.Character
-- defining local player's character
local hpart = char:WaitForChild("HumanoidRootPart")
-- defining local player's humanoid root part
local head = char:WaitForChild("Head")
-- defining local player's head
wait()
--wait
for i,v in pairs(char:GetDescendants()) do
-- for loop running through a table with all descendants of character
if v:IsA("Sound") then
-- checking if current descendant is a Sound
v:Destroy()
-- if current descendant is a sound then Destroy Sound
-- sound no longer exists
end
end

Put this in a Local Script and put it in StarterPlayer>StarterCharacterScripts

local walk = script.Parent.Head:WaitForChild("Running")
walk.Volume = 0

This discussion is preserved as it was. New answers, comments, and votes are closed.