Police said the teen had just gotten out of school when he was hit.