“Some States allow it.”
One state does but there are many conditions that apply before you can legally shoot the dude. It takes a little study to wade through all their legalize.
Texas 9.41 and 9.42 are pretty clear, especially if it’s during the night.
I highly doubt Texas is the only State that allows it.