Let’s build off some ideas I’ve seen. I want a magic taser. We can do that with a spell!
Casting Time: 1 action
Range: 50 feet
Components: V, S
You throw a ball of electricity at a target temporarily stopping the the target from being able to think, much less move. The target must make a a Constitution saving throw. On a failed save, the target takes 2d8 lightning damage and is stunned until the end of your next turn. On a successful save, the creature takes half as much damage and is not stunned.
At Higher Levels: When you cast this spell using a spell slot of 2nd level or higher, the damage increases by 1d8 for each slot level above 1st.