3rd-level transmutation
Casting Time: 1 bonus action
Range: Self
Components: V, S
Duration: Concentration, up to 1 minute
At the next time you make a ranged weapon attack during the spell’s duration and the weapon’s ammunition or the weapon itself if it’s thrown the weapon, transforms into the bolt of lightning. Make the attack rolls as normal. Actually, the target will take 4d8 lightning damage on a hit, or else half as much on a miss, instead of the weapon’s normal damage.
As well as whether you hit or miss, each of the creature within 10 feet of it (target) must mak a dexterity saving throw. Also each of these creatures will take 2d8 lightning damage on a failed save or else half as much damage on a successful one.
Actually, either the piece of ammunition or the weapon then returns to its normal form.
At Higher Levels: Whenever you cast this spell by using the spell slot of 4th level or more than it and the damage for both effects of the spell will be increased by 1d8 for each slot level above 3rd.
Giant crab 5e monster also one of the best monsters you can read it now.