Poor performance in high school, attending a CC. Will I have a chance to transfer?

I’m going to attend community college and will transfer after two years to a university. I first went to a public high school, then did online schooling, which I know is considered a joke. After going through a lot of experiences that made it difficult for me to even speak or walk, I just believed that the best thing for me was to do online schooling at the time. And for the past few years, while I understand that everyone had difficult circumstances and obstacles as well, it was difficult for me to be motivated because of being mentally ill. I regressed and placed myself into this self-fulfilling cycle as I would continuously look back at my previous accomplishments and felt as if there was no chance. It had gotten to the point I was hospitalized and had to learn to deal with PTSD and anxiety. I understand that everyone has their own hardships and I’m not trying to downplay anyone, or excuse myself.

With all that being said, I’ve improved a lot now! To the point that it’s been a long time since I’ve relapsed.

I finished school with an extremely low gpa, and it’s not something I’m proud of! I went from an excelling student to this! And education is very important in my household and culture; it used to be something I always identified with too. But I cannot change this, and I cannot change what has happened; I can only redeem myself.

I’m going to attend community college, with hopes of transferring to a university- hopefully a decent university. I heard that most universities require your high school transcript, and I’m scared that this will deter your ability to be accepted. I’ve heard mixed answers; some stating that universities don’t care, while other posts will say that they do. What is truly the case? In a scenario in which I exceed throughout college academically and involve myself more with the community, do you think it’d be possible for me to transfer to a good university? I’ve read the board in where a community college transfer got accepted in Cornell, and I wonder if I’m able to achieve the same goal.