First, as someone said earlier with assassinate, you need to score a hit.
Second, in order to score a critical, you have to have an attack roll. See attacks and rolling a 1 or 20.
Third, the only spells that can score a critical are the ones you make attack rolls with. Confirmed by Mearls...