Is there a way to only let a certain amount of people on something?

I am trying to make a game where you get the option to use an amusement park, but I only want to allow 3-6 people onto each ride without letting more than that specified amount through, how would I do that?

For example, let’s say I have a bumper car ride, and I only want to allow 7 people or less into the ride. How would I make sure only that amount or lower gets on?

1 Like

Just makes 3-6 seats?
30charrrr

1 Like

There’s a problem with that though, if more than 6 people get into the ride, they might just be standing in the arena and can cause issues with the ride.

People used to do that all the time with tycoons where you had to use vehicles and it can get annoying.

Go through the model of the ride by using :GetDescendants and count how many times there is an item with the name “SeatWeld”. Whenever a player sits down on a seat, a weld called “SeatWeld” is created in the seat, and whenever a player leaves the seat, the SeatWeld destroys. This can be used to figure out how many players are sitting down on the ride.

1 Like

Cancollide, make it off so people can’t get on.

I will try this when I get home from vacation. Thank you for the feedback!