Just a suggestion. When this flag is on the new animals can't be killed. Like the Panther, Tiger, Crocodile.
Also the Bradley can't be destroyed.
Maybe do:
if(entity isnotLootContainer&& entity isnotPatrolHelicopter&&!IsExcludedFromUnDestr(entity))
and
private bool IsExcludedFromUnDestr(BaseEntity entity) { if (entity == null) return false; string prefabName = entity.ShortPrefabName?.ToLower() ?? ""; // Exclude new animals and Bradley from UnDestr protection return prefabName.Contains("panther") || prefabName.Contains("tiger") || prefabName.Contains("crocodile") || prefabName.Contains("bradley"); }