Yes, bankruptcy is a derogatory event which will harm your credit score.
Disclaimer: This site exists to provide information only. It is not legal advice. Answering your question does not create an attorney-client relationship. I am a Massachusetts lawyer. Any information provided on this site does not, except as explicitly stated, imply familiarity with laws or procedures peculiar to your state which may differ from those where I practice.