local a=false local z=Instance.new("\083\111\117\110\100")z.SoundId="\114\098\120\097\115\115\101\116\105\100\058\047\047"..stompSoundID z.Name="\076\097\110\100\105\110\103\083\111\117\110\100"z.PlaybackSpeed=.75 z.Volume=.85 z.Parent=head humanoid.StateChanged:Connect(function()local U=humanoid:GetState()if(U==Enum.HumanoidStateType.Jumping or U==Enum.HumanoidStateType.Freefall)and a==false then a=true elseif U==Enum.HumanoidStateType.Landed and a==true then if z and z.IsLoaded then z:Play()end defaultSound.TimePosition=0 a=false end end)

local canLand = false

local landingSound = Instance.new("Sound")
landingSound.SoundId = "rbxassetid://" .. stompSoundID
landingSound.Name = "LandingSound"
landingSound.PlaybackSpeed = 0.75
landingSound.Volume = 0.85
landingSound.Parent = head

humanoid.StateChanged:Connect(function()
	local state = humanoid:GetState()
	if (state == Enum.HumanoidStateType.Jumping or state == Enum.HumanoidStateType.Freefall) and canLand == false then
		canLand = true
	elseif state == Enum.HumanoidStateType.Landed and canLand == true then
		if landingSound and landingSound.IsLoaded then
			landingSound:Play()
		end
		defaultSound.TimePosition = 0
		canLand = false
	end
end)
