Transcript for Some schools using new technology to try and prevent bullying, vaping
A look at how it works. Good morning, Diane. Schools try to supervise students but in a bathroom you can't put a camera and you can't put a guard. Now you can install one of these, it's a new device that claims to detect bullying and vaping without sacrificing privacy. So I went to see it in action. The pencils are sharpened and book bags are packed. School is back in session. While parents have been busy preparing, schools have as well. We are looking to protect and be proactive. Reporter: Plain many edge will be the first school to use a new anti-bullying and vaping detection device in its bathrooms. We look for devices like this to monitor where cameras roopts applied. Fly sense equipped with dual sensors that monitor sound levels and air quality. If noise levels spike or the air changes because a student is vaping the fly sense detects those changes and immediately sends a text alert to school officials. In terms of the technology, bathrooms are so private that what do you say to parents that might be concerned about having something like this in a bathroom where their child is going. In our device there's no camera. There's no microphone. There's no earphones so we're not recording anything. We're just looking at the environmental surroundings and so, therefore, privacy is, you know, kept to the utmost. Reporter: Nearly 30% of students in grades 6 through 12 have experienced bullying and 2016 data from the CDC show e-cigarettes are the most commonly used tobacco product among youth for the third year. 11% of high schoolers and 4% of middle schoolers. We put it to the test. Look what happens when we stage a fight. What you're seeing is sound and this is normally what you would see here across as far as what the Normal levels would be. This means that there's activity. Reporter: The fly sense detects a change in the bathroom noise level and sends an alert to check it out. The same thing happens with our vaping demo. Showing here above the line that's allowable. You know the second someone is doing something wrong. Most definitely. And while plainedge is the first school district to install the device, the company says they're already working on a second district in the area and as laws get stricter on this they expect to expand nationwide. He was really vaping. They set off the fire alarms when they were doing the vaping demo. They maybe took it a little too far. Most kids won't be doing it that much? We hope. Reese Witherspoon is here
This transcript has been automatically generated and may not be 100% accurate.