I'm thinking of taking my life when my mother passes away
Why would you try to kill yourself?
I don't want to live in a world without my mom
That is not a wise thing to do. Other people care about you and would be sad if you passed away.
You are not my mom. I think you don't know me, don't you dare tell me what I should do.
I can't tell you what to do, but I know that killing yourself is never right. Talk to a professional about it, it is not a thought you should have.