--play anim for a certain amunt of time 

function module.playAnimationForDuration(anim, duration, hum)
	local animationTrack = hum:LoadAnimation(anim)
	
	local speed = animationTrack.Length / duration
	animationTrack:AdjustSpeed(speed)
	animationTrack:Play()
end


return module
