['I was ashamed when I got in trouble with the law. I was more ashamed of what my dad was going to think.']
It must have been embarrassing. Hope it ended well for you.
When I got in trouble with the law for the first time, it was a shameful experience. I was more sad that I let me dad down.