ok, i know how to do a basic loop like to make an npc continually slide in one direction or infinetly put leaps at certain coordinates, but how do i get an npc to move back and forth, usually you just use sleep or something but that screws up the loop