Class of 1999 II: The Substitute (1994)
The substitute teacher of the future is a robot who answers spit wads with bullets Hell clean up the gang situation at the school, too, if a government agent doesnt catch him first for an experimental robot army