Do you mean like running boots? Hmm...
NPC Code:
// NPC Made by Lyndzey
if(created){
this.speed=.5;
}
if(playerenters){
toweapons Running Boots;
}
if(weaponfired){
if(this.bootson==0){
this.bootson=1;
}
if(this.bootson==1){
this.bootson=0;
}
if(this.bootson==1&&!onwall(playerx+.1,playery+.4) &&!onwall(playerx+.9,playery+1.4)&&!onwall(playerx +.1,playery+1.4)&&!onwall(playerx+.9,playery+.4)) {
if (playersprite in |1,8| || playersprite in |25,33|) {
if (playerdir==0) {playery-=this.speed}
if (playerdir==1) {playerx-=this.speed}
if (playerdir==2) {playery+=this.speed}
if (playerdir==3) {playerx+=this.speed}
}
}
}
A little messy, but that should work.