This is the kind of story that encourages copy-cats to go forward with their plans.
A better story would have been the one that had one of the students pulling his concealed pistol and capping the killer within seconds.
Or multiple people,doing that.
Or they all rush the attcker, overpower, and execute her or him.