VehicleSeat and :Sit() function incorrectly changes player's seat

When a player is already sitting in a vehicle seat, using the :Sit() function of another VehicleSeat at the same time as setting the humanoid’s Sit property to false causes the player to sit in the new VehicleSeat, but incorrectly still have control of the old vehicle. Additionally, moving the player to a regular Seat in the same way causes the player to be sitting in both seats at the same time. These bugs happen consistently in both Studio and a published place.

Reproduction (Sit in the red car to see the first bug and the green car to see the second bug)
VehicleBugRepro.rbxl (20.1 KB)

Gifs:
https://i.gyazo.com/b20e6c111d2d4452cf046841e3526b57.mp4
https://i.gyazo.com/cbf83eaf777952bbd5a3693de584abee.mp4

8 Likes

tried making the player jump and check if the player is sitting before using :sit()?

It works if I just put a wait() between setting Sit to false and using :Sit(), but that’s just circumventing the bug.