I can't take it anymore

I think it would be best for everyone if I just ended my life. I can't take it anymore, it's become too much for me to be honest. For context I'm an 18 yo trans girl (mtf) still in the closet and I'm mainly out online (and out to 2 people irl, a professional at school that deals with "troubled kids" and a trans therapist that that professional directed me to). Idk if my parents are transphobic or not but I'm scared that the possibility of them being bigots is high. Ik they're homophobic/look down on gay people so that says as much. The other place I'm out as trans is the internet, and it's becoming much harder to be trans on here too. I'm getting harassed and targeted by trolls and bigots just because I'm openly trans online. Its getting harder and harder to be optimistic and cheerful about the future. On one hand I do wanna end everything and be done for, but on the other hand there is still an ounce of optimism left that keeps me going, that gives me hope for the future. This post is mainly just to vent and like the subreddit name suggests "get if off my chest". I do not know if I will respond to any comments left on this post so don't expect that.