A teen was taken into custody after police say a gun was found inside a backpack on Thursday at Hazel Park High School.