Walking Sound Changing

Could someone help me with my script i want to change my walking sound

if script.Parent.Name == ‘Workspace’ then
script.Parent = game.StarterGui
end


wait()

local plr = script.Parent.Parent
local char = plr.Character

local sound = game.ReplicatedStorage.Sounds.Walk.SoundId

while wait(.001) do
if char.Head.Running.IsPlaying == true then
sound:Play()
sound.Volume = 0.5
else
sound:Stop()
sound.Volume = 0
end
end

Hello! To change the default walking sound you must obtain a LocalScript called RbxCharacterSounds
To obtain it you must Enter a test session in studio, and in the Explorer under StarterPlayerStarterPlayerScripts you will find a script called RbxCharacterSounds (copy the script), Exit the test session and paste the script under StarterPlayerStarterPlayerScripts. On Line 38 Change the SoundId to game.ReplicatedStorage.Sounds.Walk.SoundId!
image

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