Deputy principal Phil Carmine said the student was heading back to school after lunch when she saw something wasn't right.
"She was so concerned she decided she needed to do something about it.
"She took it upon herself to come and report it to me and I called the police and Frimley Primary.
"Teenagers often get a bad rap but it is not out of the ordinary for students to be community minded and put themselves out there."
Police searched the area and spoke to people at the school, but the man is yet to be found.
A police spokesperson said thanks to information provided to them at the school, they had positive lines of inquiry that could lead to an arrest.