A metal detector will only work if there's guards posted at the detector during the entire school day.
Even with that, a kid can wait until people are exiting from school and get them there.
BTW, Sheboon, you are posting way too much in this thread. Please tone it down.