I am making a map on Minecraft 1.17.1 and I'm tying to make a challenge where you need to go through the correct tunnel, if you go through the wrong one you'll get teleported to the start.
I don't know how to do it, so I "tried" using the execute command but I don't know how to really use it.