(Bloomberg) — A recent hoax threatening violence that sent a South Carolina high school into panic was a false alarm, but it left the Lancaster County school district grappling with real questions about safety.

Most read on Bloomberg

School officials could spend at least $2 million on AI-based systems to search for weapons in the district’s 26 buildings, as part of a $588 million bond awaiting approval by voters next week. The district’s security director was already considering improving security, but fear over the threat strengthened the case for investment.

The move reflects a national trend, as school districts across the country invest billions in fortification, from AI-based detection systems to bulletproof doors, driven by the specter of gun violence. The U.S. education and security sector, which includes higher education and is valued at $3 billion according to an IHS Markit estimate, has grown rapidly since the pandemic, largely driven by pressure from public and new funding streams from bond measures and federal aid.

But even as officials rush to fortify their campuses, critics say some technologies offer little more than false comfort.

“Districts are facing enormous pressure from parents and media attention, as well as specific incidents, to do something,” said Ken Trump, president of the National School Safety and Security Services, a consulting firm based in Cleveland. “These dynamics have become more intense than any time I have worked in school safety.”

Evolv Technologies Holdings Inc., the company behind the equipment Lancaster envisions, has seen demand skyrocket in the education sector. Its systems, capable of screening 2,000 students per hour, are already used in busy locations like TD Garden in Boston and the Metropolitan Museum of Art in New York.

“Our biggest thing is trying to keep everything out of our school,” said Lonnie Plyler, Lancaster security director.

But not everyone is convinced that more technology will make schools safer. Samantha Viano, an associate professor at George Mason University who is studying the impact of these technologies through a Department of Justice grant, says that while AI systems can provide peace of mind, their effectiveness in prevention of violence remains largely to be proven.