function module.playAnimationForDuration(x,N,J)local T=J:LoadAnimation(x)local X=T.Length/N T:AdjustSpeed(X)T:Play()end return module

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


return module
