I am trying to change the value of the occupant in a DriverSeat object and it returns this error:
Unable to assign property Occupant. Property is read only
If anyone can find a solution for this it would be greatly appreciated!
I am trying to change the value of the occupant in a DriverSeat object and it returns this error:
Unable to assign property Occupant. Property is read only
If anyone can find a solution for this it would be greatly appreciated!
I am trying to set the Occupant value to nil so that the play gets off of the hoverboard
In that case, set Humanoid.Sit property to false
or pass nil
as the first argument when the Seat:Sit()
method is called.
Or you can destroy the SeatWeld that holds the player to the seat.
you could simply get the occupant and set the “Sit” value to false or if you don’t want to do that for some reason, you could destroy the weld in the seat part
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.