Need to know if ive lost her already or she still likes me
So, lets start this off with a little bit of a back-story, I'm a junior in high school, i met this girl in sophomore year because we shared a class, we talked as friends throughout that year and got kind of close, than this year (junior year) i found out she liked me, and i never really thought about this girl that way, but when I did i liked the idea a lot so about a month later we talked about our feelings and found out that we both liked each other a lot, but we never really turned it into anything.
Now that you know the back-story, lets get to the thing I'm currently caught up on, so we are just really good friends now and talk a ton every day and even share another class together. Out of the blue, she starts talking about this freshman boy she starting to like, and to make a long story short, they both like each other and are almost on the verge of dating, so i kind of just become sad and don't say anything, so a couple days ago, she told me that i have started acting like a "cocky dueche" lately and i told her i really didn't mean to and i was sorry, but than she didn't bring it back up and acted like nothing happened, and for the first time, she actually asked me if i wanted to hang out with her outside of school (it was to the fair with her family) so of course i said yes. We went and everything was great, but she never wanted to be alone with me, i didn't really ask her to much to do it anyways to be fair, so I don't know if she was just being shy or what. Than after that she starts texting me late at night telling me all the things she like guys do to her. I don't know if its because she doesn't think of me like she use to because of this new guy, or if its a huge sign kind of telling me to do these things before its too late.
I just need to know what to do because i cant get her off my mind anymore but im scared that if i tell her how i feel ill scare her away, and since she is in my small friend group, it may separate the group of friends.
any advice is greatly appreciated, thanks guys!