That’s because it wasn’t made with TM syntax it’s called pseudo-code and is a common practice. Considering I did not have access to the game at the time. I wrote it in Pseudo Ja*va syntax because it’s what I know. It essentially shows the method in which it can be done and is not meant to be used as a copy paste.

NOTE: Was not aware there was not a while function, so that's MB. Will edit appropriately.

The program used to make the first your attempt @WhereThatWallAt isn't the best for TM scripting. Simply imputing into notepad or a normal text format is completely fine.

What's even better (source from MrMarooca) is that you can literally highlight, ctrl+c then ctrl+v from notepad (or any source with the same format) straight into the script editor and it will just place it in as is.

After looking at this, I realized there was a typo because it didn't really make sense to me so I tried the script myself. I'm fairly new to scripting so I figured this was a learning moment for me. Just looking at this taught me a lot so thanks Dryym but I will paste the improved script below. This script unfortunately did not work at all because by saying If [ox] =

, you are saying if [ox] equals the queried position of the player, which would always return true because [ox] =

as stated in the script. To fix this, I added a wait timer (1 second) between querying the players position and his position exactly one second after that. This fixed the problem.

It wouldn't let me copy and paste my script unfortunately so I made this one by simply typing it in chat so I don't know if it will copy over correctly, but this is what it should look like. Every second the script will loop so it will always be running and checking if the player is moving or not. If they stop moving for one second, they will teleport to the chosen coords. Obviously you can change the timer to like [500] for half a second or even [250] for a fourth of a second, but any lower is not recommended because it isn't safe to say the player can move a single coordinate in the time that a fourth of a second passes.Also, I know this post is a little old, but I just wanted to post this so others viewing can have a script to look at for their parkour maps.I didn't mean to throw you under the bus Dryym, i know you're a great scripter from seeing your posts, but I just wanted to get a working script in this article.Edit: I don't know why it is doing this, but for every little square you see in the text, it is [ x ] without the spaces. Not sure why this happens.