Adjusting SNPC Damage

I’m currently working on Colonies Improved, and I was hoping if anyone had any idea about how to adjust the damage a scripted NPC deals?

Any ideas?

What kind of damage. Adjust how?

The damage they deal.
E.g. A headcrab.

Wouldn’t you edit the NPC files?

Yeah, unless they have guns you must be dealing the damage manually somewhere.

Ctrl + F and try to find TakeDamage.

It’s a function that is most likely used in the NPC to cause damage to the entity it attacks.

Example: target:TakeDamage(50,self,self:GetActiveWeapon())

I have to adjust this from inside the SEnt’s script (a headcrab), by the way.

Yes that’s where it would be.