Anyone possibly know what could be wrong with my brakes?

I was driving home from work and out of nowhere the pedal sinks down to the floor. I tried bleading the breaks and that didn't work. My truck is a 98 ford ranger xlt 4 cylinder. I can't take it to a shop now cuz it has no brakes.

Take a look under the truck and you should be able to see where the leak is. (Fluid running on the ground.

Does your E brake work? If you drive at about walking pace, you should be able to get to a shop if you choose your roads well. If not, better to call a tow truck.

Master cylinder.

Master cylinder is busted. You can pull the ranger with another truck but you need two men who know what they are doing to do it and you should do it during the night when there's as little traffic as possible. Your insurance may cover a tow… Or if you have a friend with roadside on their insurance, they can say that they were riding with you so their insurance will cover the tow. I did that once and the tow only cost me $22. Roadside assistance covers any car they are riding in, not just theirs.

Check the fluid levels and refill the master cylinder reservoir. Try pumping up the brakes. Check for the wet spots, including the wheels. The fluid has to be going somewhere… Even leaking into the vacuum booster.