There's no simple way to really do it but if you take away all the guns the folks who are doing shootings will consider other means of taking life. Probably more extreme rather than less. It's not a gun issue. It's a responsibility and mental health issue. It takes a village to raise proper healthy minded individuals and there's science to prove it.
Children who are not brought up favorable conditions tend to have issues. And no that doesn't just mean poor financially. Rich kids have it too.
@MrGoat again, most *effective* methods (as effective as an AR with high capacity magazine) take more training and experience than what is readily available now. It doesn't mean people won't find a way but it will take them a lot longer.