function onPlayerEntered(newPlayer) wait() newPlayer.Character.Sound:Remove() end game.Players.PlayerAdded:connect(onPlayerEntered)
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