Chaos Mine

2nd-Level Evocation
Casting Time: 1 Action
Range: 60 feet
Components: V, S
Duration: 1 Minute

You conjure an ethereal crystal within ranger at a point that you can see. The crystal crackles with unstable magical energy.
When you cast this spell, all creatures within 10 feet of the crystal must make a Dexterity Saving Throw to avoid causing the crystal to explode. Any creatures that are unable to move, such as Restrained or incapacitated, automatically fail the Saving Throw.
All creatures that succeed automatically move up to half of their movement speed, to the nearest unoccupied point outside the 10-foot radius; that they could reasonably reach.
If any creatures fail this Saving Throw, or moves within 10 feet of the crystal afterwards, the crystal explodes.

When the crystal explodes, all creatures within 10 feet of the crystal must make a Dexterity Saving Throw. On a failed save, they take 2d6 Fire Damage, 2d6 Cold Damage and 2d6 Lightning Damage. On a success, they take half damage.

At Higher Levels. When you cast this spell using a spell slot of 3rd level or higher, increase the damage dealt by one damage type of your choice by 1d6 for each slot level above 2nd.
When you cast this spell using a spell slot of 4th level or higher, increase both the triggering radius and exploding radius by 5 feet for every 2 slot levels above 2nd.