Mendon police say four Uxbridge High School students admitted to making and throwing homemade explosive devices to two locations.