Help with Lead Shot

I want my NPC to accurately look at the enemy so it can accurately hit the enemy.

character:PivotTo(CFrame.lookAt(character.PrimaryPart.Position, currentTarget.PrimaryPart.Position * Vector3.new(1, 0, 1) + currentTarget.PrimaryPart.Position * Vector3.new(0, 1, 0)))

How would I attach this to CFrame.LookVector?

character:PivotTo(CFrame.lookAt(character.PrimaryPart.Position, targetRoot.Position * Vector3.new(1, 0, 1) + targetRoot.Position * Vector3.new(0, 1, 0)))