umm try this:
NPC Code:
if(playertouchsme) {
this.stairs = 1;
if(playery = y to stop at) {
this.stairs = 2;
}
}
if(this.stairs = 1) {
playery-= 0.02;
setani walk,;
timeout = 0.05;
}
if(this.stairs = 2) {
playery = playery;
playerx = playerx;
}
that should work if any player touches it.