I want to make something like(for example) the monster at a certain distance teleports behind the nearest player, and with a certain time interval (for example 30 seconds) can do it again. but to be honest, I can't figure out how to do it