If you want them to stop, then stop them. Quit avoiding the real issue, and bitching about gun laws or mental illness, and focus on the actual problem; cowardice. If you or someone in your presence is attacked with a level of force sufficient to result in death or great bodily injury, (stabbing, shooting, group beating, etc.) then your IMMEDIATE ACTION DRILL #1 is to attack the attacker until he stops..... not to hide, and cower helplessly like a useless bitch. Shoot him, stab him, hit him with a chair, beat him with a laptop, whatever..... but don't just stand there and wait to die. IMMEDIATE ACTION DRILL #2 is to call the cops, and if you can do them both simultaneously, then do so, but if you can pull your phone out and start dialing during an assault, then I have to wonder how serious the assault is.
I'm sick of listening to the wailing and finger pointing..... this shit doesn't happen unless you let it happen. Quit being a bunch of punks, and take some responsibility for your own safety, and that of the people around you.
You are responsible for you.