I've struggled with that type of thoughts before. I actually attempted but failed and my mom found out. I was in a terrible place and had to revieve tons of treatment but I eventually started to feel better and I now love my life. I understand things may be difficult, but killing yourself now won't let you get better.
When you're at your lowest point, there's only room to grow. Please don't make a bad decision. Life ids difficult but eventually it will be worth it for you.