I had a air rifle once upon a time, it made as much noise as a 22 short so I just use that , it is legal where I live.
My HOA has "no firearms discharge" rule.
I have a Buck Mark with a suppressor that I keep prepped in case that pesky skunk shows up again. I can likely argue my way out of trouble if I finally dispatch it.
Other critters that are mere annoyances (possum or dillo), I'm less likely to successfully plead my case.