humanoid.Running:Connect(function(H)if humanoid.MoveDirection.Magnitude>0 and(H>0 and humanoid:GetState()~=Enum.HumanoidStateType.Climbing)then getSoundProperties()update()currentSound.Playing=true currentSound.Looped=true else currentSound:Stop()end end)serverSound.Changed:Connect(function(H)if H~=0 then serverSound.Volume=0 end end)

humanoid.Running:Connect(function(speed)
	if humanoid.MoveDirection.Magnitude > 0 and speed > 0 and humanoid:GetState() ~= Enum.HumanoidStateType.Climbing then
		getSoundProperties()
		update()
		currentSound.Playing = true
		currentSound.Looped = true
	else
		currentSound:Stop()
	end
end)

serverSound.Changed:Connect(function(Volume)
	if Volume ~= 0 then
		serverSound.Volume = 0
	end
end)
