You must have a sense of social awareness and an extroverted, outgoing personality.
Heres how I did it and how I became somewhat popular due to it in events, workshops and my first and last Highschool class.
1. Know when to put yourself in the spotlight.
2. Have experience to amuse both females and males alike and find their weak points.
3. Let your charisma shine (doesnt work if a Chad is around).
4. Makes jokes about everything - including yourself.
5. Dress a certain way (you can also dress formally but having clothings that make you different from normies gives them a sense of attraction).