Yes, God helps those who help themselves. In the wake of any tragedy, not just a shooting, but if someone's house burns down, or a death in the family, we do what we can to give aid and comfort to the victims. But we still need to pray for his guidance.
I've seen bits and pieces in my life, where things work out for our good. We might not understand it, it may not happen for a long time, but I do believe things happen for a reason.
Even in the midst of absolute chaos, God can make order out of it.