Went to war with attic-invading squirrels so got a Crossman C02 operated semi-auto pellet gun. Also good for racoons and skunk visitors we have in our back yard.
Yup, that will do it.
I would be careful with the skunks...ooooooo, they do leave their mark. We had a STUPID neighbor who fed the raccoons. What an idiot. Not good for anyone.
I go after the crows and ravens. They kill and eat the good birds. They KNOW me now. I use my pellet gun. I accidentally (and I mean that) hit one once and now they steer clear of my home. I use a pellet gun that looks like a Dirty Harry gun. Which reminds me, I have to order some more Crosman pellets!