I have another friend that had a raccoon in his attic. Came in through a vent in the gable. So he sat outside one evening with his .22 waiting. It poked it's head out. Instead of waiting for it to come all the way out, he shot it. It ran back inside all the way to the other side of the house and wouldn't die. He had to go up into the attic, crawl all the way back there, and shoot it again, hoping he wouldn't miss and put bullet holes through his other gable end. Then he had to haul it out.
I'd never shoot an animal in our on my house, as you're likely to make more damage that you'll have to repair.
Exclude it, or live trap it, and then either dispatch it away from people/structures, or let it go. Then repair the opening(s).