NPC Code://#CLIENTSIDE if(playerleaves) enabledefmovement; //rest of coding
//#CLIENTSIDE if(playerleaves) enabledefmovement; //rest of coding