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)))