What would be the best method for a ''queue'' system, like at an amusement park?

I am trying to make it so that once players touch a certain brick, they enter a ‘‘queue’’ system in which they walk down rows divided by fences until finally arriving at the actual ride. What is the best method for achieving this? Thank you, and stay safe!

3 Likes

Locking the players controls and implementing Humanoid:MoveTo checkpoints along the path you’d like the player to follow through the queue system is how I’d go about that.

Humanoid:MoveTo is relatively self explanatory, however to lock controls you can use this neat snippit of code:

local Module = require(game.Players.LocalPlayer.PlayerScripts.Module)

local Controls = Module:GetControls()
Controls:Disable() -- lock controls

Controls:Enable() -- unlock controls
4 Likes