Animal NPC's Only

Anyone know of a script that will disable all civilian npc but will allow the animals to still spawn so they are able to be hunted.