Not sure if the security on site at the school was armed or not but the shooter killed that guy before entering.
I heard it was one of the pursuing officers that engaged him and got shot. Security, armed or not, isn't what I'm talking about though. I'm talking about actual police officers who are trained in dealing with school situations. Security guards don't even have standard police training unless they happen to be retired police officers. Let alone, school training.