Snapping Walking System

yo can you guys help me? im tryna make a parkour system type thing where if you like touch a plank you walk along it almost like snapped into position; the player can only walk forward or backward and cant go left or right. bit like in the begining of this vid: https://youtu.be/5vQFgFg3_WM?si=rBovj5Py5imtU33L&t=6 if u can help me then ty

You can try setting waypoints and use humanoid:Move(direction * walkspeed). You can get the direction from the vector of 2 waypoints.

could work, but i wanted the player to have the control

Then pair them up with w/d or arrow keys. You got the direction and walkspeed.

they can still control it then; i just wanted snapping to the plank for a nice arcady feel

You can have them to snap to pre-created waypoints. If you want to generate waypoints between two waypoints, you can divide the magnitude by how far you want to snap.

maybe, im not too sure; could work, but im thinking of something more simple

its likely because the animations are cframed, you might be able to log weld offsets every frame and then just stop the animation and set the weld for each limb