Pregnant homeless and carless

Ive always had my own place, thousands in the bank my job and a car.. Ive always been independent and financially responsible...

Then 6 months ago after 8 years of infertility crying and let downs i get the best news of my life! Im pregnant..

But then at the same time i had to let my 8 year long relationship go.. 2 years ago he became abusive.. I lost over 100 pounds and he lost his mind.. I told him i was pregnant.. His first words were its not mine... And two days later he beat me i had to go to the hospital.. Before i would have forgave him.. Blah blah but i had a Miricale inside me.. I went to the police got a restraing order.. Filed a report.. The police went and got him out of my house and took him to jail.. Haven't seen him since

Fast foward to know.. Im almost 7 months pregnant.. I work full time in pain i now pay all the bills by myself which is fine but all my money is drained.. My job does not offer maturnity leave pay.. 3 years of my life i wasted at a job that's basically saying fuck you.. So im going to have to quit..

Last month my transmission blew.. It locked up my engine on the side of the feeeway i had to leave it went back the next day it was gone.. I cant afford to fix it or get it out of storage.. So now im on the bus in the summer in vegas 105+ weather

My dilemma is this.. Once i quit my job.. I will have to leave my apartment no money no rent.. I also have to pitbulls that i love to death But basically now im working my job just to pay bills for me and my dogs (trying to find a foster home for them until i get on my feet i refuse to let them go) until im due which im going to have to move anyway .. But i also desperately need a car.. Having a new born on these buses will be a no go for me..

What would you do.. What would you choose.. Skip the rent and get a car..

Which sounds logical but then in 3 months you'll have to leave your apartment anyway.. And you'll have no place and no car..

Ugh im screwed and scared my own mother told me to go to a shelter.. To get housing faster.. Thank god i have my best friend that loves me and said im crazy if i think she'll let me go there with a new born.. I never thought this would be the outcome of my blessing my Miricale baby but im doing it all for her