You know what works better? Responsible armed people willing to confront evil with faced with it.
To be somewhat dark here: you don't really need sensors at malls or schools; their utility in the event of a shooting would probably be superseded by discharges or other obvious telltales of a weapon's presence.
bringing sensors to school and malls is lot cheaper than having troopers everywhere, but it needs political will