Hi there. I am currently making a ride (theme park attraction) and am curious if there is a way to force multiple players to sit in different seats, almost like teleporting them to a seat instantly. The seats are right next to each other, and there is a considerable amount of them. What would be the best way to do this without sending all of the players to the same seat? Thank you very much, and be safe.
I would probably put all of the seats in a table, and loop through each of them, assigning a different player from a table of unseated players to each one, removing each player from the unseated table as you go.
Here is also the function that can be used for force sitting:
There really isn’t a reason for a BoolValue when Seats have their own built in property .Occupant, which will be nil if the seat isn’t taken, but this concept could definitely help in making the script.
Oh yea I forgot about Seat.Occupant. So basically loop check (i say with repeat) the seats until you find one that does not have an occupant, and force them to sit.