Unable to physgun entity NPC (spawn on start)

My init.lua:

function ENT:Initialize()

	self:SetModel( "models/mossman.mdl" );
	self:SetHullType( HULL_HUMAN );
	self:SetNPCState( NPC_STATE_SCRIPT );
	self:SetSolid(  SOLID_BBOX );
	self:CapabilitiesAdd( CAP_ANIMATEDFACE || CAP_TURN_HEAD );
	self:SetUseType( SIMPLE_USE );



function ENT:SetAutomaticFrameAdvance( bUsingAnim )
	self.AutomaticFrameAdvance = bUsingAnim;

I do ents.Create( “thisentityhere” ); and spawn it but I can’t touch it with physgun. Could someone please give some insight to why I am unable to do this.
Thank you

A lot of people seem to have

self:SetMaxYawSpeed( 90 )

in code like yours, below self:DropToFloor(). I’m pretty sure it won’t make a difference, just a suggestion.

Ok I think it comes from the default NPC code from some guide, but indeed that shouldn’t cause the incapability to physgun him.

bump if I’m allowed (I did check and I didn’t find anything saying no!), I’ve been searching but I really can’t find what is doing this.