Don't do it on school grounds. Buy it after school across the street.

That way you let your dealer take the risk during the day, and you will never get caught with it at school.