You don’t need to ban guns, just control them way more.
A simple question for the legislature would be: Can this gun be used by a single person to easily massacre 50+ people and maim/injure 500+ more in a short space of time? If yes, then ban it. It’s crazy that that is even controversial. Isis struggle to build bombs that cause devastation on this scale.