--		print(AnimName .. " " .. Index .. " [" .. OrigRoll .. "]")

		local Anim = AnimTable[AnimName][Index].Anim

		-- load it to the humanoid; get AnimationTrack
		CurrentAnimTrack = Humanoid:LoadAnimation(Anim)
		 
		-- play the animation
		CurrentAnimTrack:Play(TransitionTime)
		CurrentAnim = AnimName

		-- set up Keyframe Name triggers
		if CurrentAnimKeyframeHandler then
			CurrentAnimKeyframeHandler:disconnect()
		end
		CurrentAnimKeyframeHandler = CurrentAnimTrack.KeyframeReached:connect(KeyframeReachedFunc)
	end
end
