--	if (runAnimKeyframeHandler ~= nil) then
--		runAnimKeyframeHandler:disconnect()
--	end
--	
--	if (runAnimTrack ~= nil) then
--		runAnimTrack:Stop()
--		runAnimTrack:Destroy()
--		runAnimTrack = nil
--	end

	
	return oldAnim
end

function getHeightScale()
	if Humanoid then
		if not Humanoid.AutomaticScalingEnabled then
			return 1
		end
		
		local scale = Humanoid.HipHeight / HumanoidHipHeight
		if AnimationSpeedDampeningObject == nil then
			AnimationSpeedDampeningObject = script:FindFirstChild("ScaleDampeningPercent")
		end
		if AnimationSpeedDampeningObject ~= nil then
			scale = 1 + (Humanoid.HipHeight - HumanoidHipHeight) * AnimationSpeedDampeningObject.Value / HumanoidHipHeight
		end
		return scale
	end	
	return 1
end

local smallButNotZero = 0.0001

function calculateRunSpeed(speed)
	local speedScaled = speed * 1.25
	local heightScale = getHeightScale()
	local runSpeed = speedScaled / heightScale

	return runSpeed	
end

function setRunSpeed(speed)
	local runSpeed = calculateRunSpeed(speed) 

	if runSpeed ~= currentAnimSpeed then
		-- HACK:  TEMP:  Suppressing blending of run animation
		