You can have AKs and AR15s in my state, but they have to be semi not auto.
But the guy you shoot better have kicked in the door stabbed you a few times and pinched your wife's ass before you shoot him.
Now in good old Texas, you can pretty much fill anyone who's on your property without permission with lead, be they confused Alzheimers addled grandpas or rascally teenagers planning to tip your prized lovin cow.