How to make a custom walking sound?

Found so much old scripts that didn’t work for me at all.
Can someone share a working custom script sound that you are using?

btw i’m not good at scripting.

11 Likes

I am uncertain what your question is here.
Let me try to answer it even though

Yes, you can import and use your own walking sound

You are asking for a free script, which is both against the guidelines to ask , and against the guidelines to just give away scripts. I recommend learning a little more about Sounds

3 Likes

This one is pretty simple actually. In a local script you need get the character’s “Humanoid”, you can see what material the player’s character is walking on. In the “HumanoidRootPart” there is a Sound called “Walk” which you can change the sound Id according to the material they are on, this is an example of a script.

local Humanoid = script.Parent:FindFirstChild("Humanoid")
local Walk = script.Parent.HumanoidRootPart:FindFirstChild("Running")
while true do
	wait()

	if Humanoid then
		if Humanoid.FloorMaterial == Enum.Material.Grass then
			Walk.SoundId = "rbxassetid://252965149"
			Walk.PlaybackSpeed = 1.5
		end
		if Humanoid.FloorMaterial == Enum.Material.Concrete then
			Walk.SoundId = "rbxassetid://833564121"
			Walk.Volume = 2
		end
		if Humanoid.FloorMaterial == Enum.Material.Plastic then
			Walk.SoundId = "rbxassetid://833564121"
			Walk.Volume = 2
		end
	end
end

You can place the local script inside the Player’s Character
image

Hope this answers you question.

55 Likes

Thanks! I’m going to use it alot.

3 Likes

that seems to be outdated and not working anymore

Actually, there is a better way to do this:

First you want to check if the humanoid is moving with Humanoid.MoveDirection, then you want to change the SoundId of the sound ‘Running’ found in the HumanoidRootPart, and you want to have a separate folder of the custom footsteps somewhere in ReplicatedStorage or your script to utilize the sound effects.