Source: Xanathar's Guide to Everything

1st-level necromancy

Casting Time: 1 action
Range: 60 feet
Components: V
Duration: Concentration, up to 1 minute

You awaken the sense of mortality in one creature you can see within range. A construct or an undead is immune to this effect. The target must succeed on a Wisdom saving throw or become frightened of you until the spell ends. The frightened target can repeat the saving throw at the end of each of its turns, ending the effect on itself on a success.

At Higher Levels. When you cast this spell using a spell slot of 2nd level or higher, you can target one additional creature for each slot level above 1st. The creatures must be within 30 feet of each other when you target them.

Spell Lists. Warlock, Wizard