I want to be able to teleport players as they spawn to one of the seats in a tank. It would also have to be cable of having many tanks and many seats to be filled randomly. The names of the seats are GunnerSeat, Driver Seat. How would I make this work?
you can make a table of all the seats and check if there is a player sitting in the seat, while iterating through all of them, if one is open, teleport the player to the seat position and make sure the player sits in the seat, ( you can probably do this by checking if the Humanoid property Sit is true or not :)