Rapper Young Buck is a new man ... he's about to emerge from bankruptcy with a clean slate ... but creditor/good friend 50 Cent doesn't even get 50 cents.

Get this ... 50 had loaned Buck $300k, and there was an outstanding balance of $171,000. According to docs, obtained by TMZ, 50 will get zilch.

Ditto G-Unit Records. It had it's hand out for $10 MILLION. Just like 50, G-Unit will end up with goose eggs.

Someone got lucky. Of course, it's the lawyers, the bankruptcy trustee and Uncle Sam -- they'll split about $330k.

Shakespeare was right ... right?

ncG1vNJzZmivp6x7tbnZZ5qopV9nfXJ%2FjmlwaGlpZMawwc2gZJutk6B6o63NpKmuqKSYxm6Bj2aanqakYrRuwc2iq2aqlZi8s7DSaA%3D%3D