NPC Code:if(playerenters&&somethingoranotherdifferenthing)t his.thing=1;this.thing2=1;this.thing3=1; etc.
if(playerenters&&somethingoranotherdifferenthing)t his.thing=1;this.thing2=1;this.thing3=1; etc.