My character has 3 levels in Fighter and chose the Arcane Archer archetype. That allows him to use the Arcane Shot option Piercing Arrow (XGtE, p. 29):
Piercing Arrow. You use transmutation magic to give your arrow an ethereal quality. When you use this option, you don't make an attack roll for the attack. Instead, the arrow shoots forward in a line, which is 1 foot wide and 30 feet long, before disappearing. The arrow passes harmlessly through objects, ignoring cover. Each creature in that line must make a Dexterity saving throw. On a failed save, a creature takes damage as if it were hit by the arrow, plus an extra 1d6 piercing damage. On a successful save, a target takes half as much damage.
He also has 3 levels in Rogue and chose the Assassin archetype. That gives him the Assassinate feature (PHB, p. 97):
Starting at 3rd level, you are at your deadliest when you get the drop on your enemies. You have advantage on attack rolls against any creature that hasn't taken a turn in the combat yet. In addition, any hit you score against a creature that is surprised is a critical hit.
Does that mean that against surprised opponents, the Piercing Arrow damage would be critical and rolling double the dice damage?