Ban killing machines
In my opinion, it’s ridiculous to think scanners or guards would stop a shooter intent upon killing.
He/she has planned it out and has the element of surprise, and anyone who stood in their way would be a target. With an assault rifle, they wouldn’t have a chance.
The only answer is to ban them and any other gun that can be used as a killing machine.