CNN  — 

The Florida gun bill spurred by the Parkland school massacre is just one signature away from becoming law.

Senate Bill 7026, dubbed the “Marjory Stoneman Douglas High School Public Safety Act,” would toughen gun control in several ways – but also includes a controversial provision that would allow some teachers to be armed.

If Gov. Rick Scott signs the bill into law, it would:

- Raise the age to purchase a firearm to 21 from 18;

- Require a three-day waiting period for firearm purchases, with some exceptions;

- Ban the sale or possession of bump fire stocks, which allow a semiautomatic weapon to fire more like an automatic weapon;

- Let law enforcement officers ask a court to temporarily prohibit someone from possessing or buying firearms or ammunition if there’s evidence the person poses a threat to themselves or others – known as an “extreme risk protection order”;

- Ban people deemed “mentally defective” or who have been committed to a mental institution from owning or possessing firearms until a court grants relief, adding to a current ban on gun purchases for the same people;

- Let a law enforcement officer temporarily seize firearms from someone they’re already taking into custody for an involuntary mental health assessment;

- Provide additional funding for armed school resource officers and mental health services; and

- Enact the Coach Aaron Feis Guardian Program, which would allow some teachers to be armed if both the local school district and local sheriff’s department agree.

That last item was named after the coach who shielded students from bullets with his own body and died in the February 14 massacre.

Read the full text of the bill

But there are several caveats to the program that would arm some teachers:

- Teachers who “exclusively perform classroom duties as classroom teachers” won’t be allowed to carry guns on campus, unless they have military or law enforcement experience or if they teach a Junior Reserve Officers’ Training Corps program;

- The program is voluntary; no one will be required to carry a gun; and

- Qualified staff members who want to carry a gun must take 144 hours of training.

CNN’s Carolyn Sung and Jason Hanna contributed to this report