As a weekend project I modified my daughter's Nerf drat gun to make it fire continuously from anywhere on the internet.
I 3D printed a linear actuator servo adapter that hooks into a servo to replace the internal firing mechanism and used a relay to power the motors that fires