NPC Code:if(keydown(<numb>) && this.keydown==0){ this.keydown=1; //do rest of the coding } if(!keydown(<numb>) && this.keydown==1) this.keydown=0;
if(keydown(<numb>) && this.keydown==0){ this.keydown=1; //do rest of the coding } if(!keydown(<numb>) && this.keydown==1) this.keydown=0;