Antilife Shell
Effects
A shimmering barrier extends out from a point you choose, sizing between 1x1 and 4x4 tiles on the ground. Living creatures are affected by the barrier in the following ways:
The creature can't willingly pass the barrier by nonmagical means. If the creature tries to use teleportation or interplanar travel to do so, it must first succeed on a Charisma saving throw.
The creature has disadvantage on attack rolls against targets within the cylinder.
Targets within the cylinder can't be charmed, frightened, or possessed by the creature.
When you cast this spell, you may invert the barrier, preventing living creatures from leaving instead.