I am in debt and want to pay it off. I am debating on filing for bankruptcy or possibly getting a loan for bad credit so i can pay off my credit. Are there any finanical institution that is legitamite and isn’t a scam that can possibly loan me a loan ?

The way you are talking, then technically you are still in debt.
Getting a loan puts you in further debt.
you can get a payday loan if you have a really bad credit rating – legitimate companies offer these. Type it into google. How much do you need? The type of loan you can get depends on how much you need.
a grant is better than a loan you do not have to pay grant back, consult a banker on both issues
taking a loan out to pay a debt will only make it worse. your interest rates will be through the roof. its a bad idea. its seems good now but in the long term it really isn’t. check this place out they will help you find a way to pay off debt and it is non profit.
if you are looking for the best bad credit loan website, check out this site
here you can get the best rates available for you.