I'm referencing "shadow" as the npc, and it has an animationcontroller in it. Here's my code.

		local animcontrol = shadow:WaitForChild("AnimationController")
		local track = humanoid:GetPlayingAnimationTracks()
		local shadowanim = animcontrol:LoadAnimation(track)