Classes
Seat
Seat
is a part that players can sit on
This class inherits ActiveInstance
which means that all properties, functions and signals from ActiveInstance can be used.
Properties
locked: bool
The locked property holds a bool value. If it is set to true then no one can sit in the seat.
Occupant: Player
The occupant property holds a Player value. The value is nil
if no one is seated.
Signals
OnPlayerSit
This signal is called when a player sits on the seat. An example:
OnPlayerLeft
This signal is called when a player leaves the seat. An example: