If you are in that line lying down, and one by one they are getting shot in the head, it would be time to rush the shooter, en mass.
Maybe bounce a chair off his head.
What is the alternative, that he runs out of bullets?
The passivity is hard to understand, I guess fear grips all of us at the moment of truth but given some kind of training, every citizen can go from being passive to taking down a murderer.