
When I dealt with this in the 7th grade, I just told them I knew what they were doing, said no, and ignored them after that. Considering these guys are acting like middle schoolers, the same should work. Also, since you are all technically adults, you can report their harassment to the appropriate authorities. RA or security should work.
Yeah it’s ridiculous people keep acting like middle schoolers and harassing people for no reason. Make sure to report this behavior, even if it doesn’t happen again it’s worth noting it has happened in the past. I’m sure your school would take it seriously and look out for it. Don’t take no shit from no one