Suicide will never be the right answer, no matter how difficult thing have become, you never know what will happen around the corner, so try to stay positive.
If you recognise that your behaviour has been wrong in the past, that's a great start! You don't need to act out to get attention.
Running away won't solve your problems either, as you'll probably just get picked up by the police and taken home again.
Do you have a teacher or trusted adult you can talk to for advice? It's difficult to know your current situation, but you sound very upset, and at 13 the world can seem a very scary place.
Find someone you can trust, a youth worker or teacher, for example, and talk to them about your worries. Good luck.