i don't need this animation to load to player, i need it for NPC

	local swing = script.Parent.swing
	local animTrack = script.Parent:LoadAnimation(swing)
	animTrack:Play()

It just doesn't work i tried instancing animation controller trough script but it says it needs to be in game or something i can't get it to work also i cant find anywhere the animation controller.

Someone help pls