Hello and thank you for allowing me to address your legal question.
Unless you personally guaranteed the debt, then generally speaking you can’t be held personally liable for it. Therefore, your credit rating, etc., will not be affected by the bankruptcy of the corporation, and the creditors cannot go after you for payment.
There are exceptions to that general rule that allow creditors to "pierce the corporate veil," but it usually requires the creditor to prove fraud of some kind, or that the corporation did not comply with applicable regulations, etc.
Have I satisfactorily answered your question? If not, then please feel free to ask for clarification.
If the information that I provided was helpful, then please remember to click the green accept button so that I will receive credit and compensation for my time. Positive feedback is always appreciated as well. Thank you and good luck!
DISCLAIMER: Please understand that the complexities of most legal problems cannot be adequately addressed in this setting, and that I am only licensed to practice law in the state of Maryland. Accordingly, you acknowledge (1) that we have not formed an attorney-client relationship, and (2) that my post is general information only and is not specific legal advice.