I believe you can use a set of preset nodes for making something like that. By using humanoid:MoveTo() and humanoid.MoveToFinished, you can cycle through the set of nodes and reach the destination. However I’m not sure how to disable the player’s control while this movement happens. I saw it in another post, I’ll try and grab the link.
Pathfinding service can help you out, check out the wiki link.
I see you seem to be a new member, so I would like to tell you to mark the best solution using the check mark.
I’d agree with everybody else who said that you’d have to use pathfinding - however, if there is a straight path with no jumping/turning required(stairs don’t count), this will probably be an easier method: Humanoid | Documentation - Roblox Creator Hub
I agree. I am pretty sure that is what the game TrossCraft linked above uses. I played the game myself to see, you just pick a side and the script checks for available slots in the sides and they take the player there, not complicated at all.
There’s a player control LocalScript inserted to the character on spawn. If you disable it, you should be able to move character without player himself/herself disturbing it. I don’t remember what is the exact name of the script or where it is since I don’t have access to Studio right now, but you should be able to find it if you look for it in Testing mode. Check character and player scripts.
A lot of people unnecessarily posted duplicate mentions of only the PathfindingService… why?
Anyway. OP, your title is slightly confusing and does not reflect the contents of your post. A player movement system is surprisingly different from asking how to move a character towards a certain area.
Do check out the documentation for Humanoids as they sport the necessary APIs you’ll need for character control. As for preventing players from using their keyboards to move yet allowing scripts to move the character (like in a cutscene or automated movement), you can either disable the controls from the player controls module or pass sinks in ContextActionService for character movement keys.