How to add a Falling/Landing sound effect in roblox studio

That’s a footsteps sound, I set it to landing and it played when I hit the floor.

Ok so can you make a video of what you did so i can see or can you join me in team create just to help me with this problem.

yo what do you wanna do cause I still need help with this

Gimme a minute, and i’ll send a vid.

Alright, sure thing :+1: I’ll wait until your ready.

Problems with my recorder right now. (got it working now)

@Intel4D can you please tell us what your goal is? This is changing of landing sound, meaning each time player jumps/falls from a relatively high ground, sound is played. I’ve tested it and it works.

image

If you are interested in adding this sound effect each time player lands after normal jump, the following is one way of doing it. This code belongs in local script inside StarterCharacterScripts.

local player = game:GetService("Players").LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")

local sound = Instance.new("Sound")
sound.SoundId = "rbxassetid://157626116"
sound.Parent = humanoid

humanoid.StateChanged:Connect(function(old, new)
	if (new == Enum.HumanoidStateType.Landed) then
		sound:Play()
	end
end)

I have to say that I appreciate your replies @RFL890, I realize you are making effort to help and would like to point that out.

2 Likes

I want to finish my game so lots of people can have more experience of it.

1 Like

done!
Here’s a repro.
(sorry there was an error), will upload on streamable

External Media
1 Like

Baseplate - Roblox Studio 2021-04-11 13-50-09. Here’s the video.

Thanks You dude, im gonna go check this out.

ok let me go try this thanks essence

&

Thank you both for helping me, it finally works! :smiley:

3 Likes

Client script:

humanoid.StateChanged:Connect(function(old,new)
      if new == Enum.HumanoidStateType.Landed then
            if humanoidRootPart.Velocity.Y <= -60 then
                  -- *Your sound here*
            end
      end
end)