local Z=Chassis.driverSeat local function N()ContextActionService:UnbindAction(STEER_LEFT_ACTION_NAME)ContextActionService:UnbindAction(STEER_RIGHT_ACTION_NAME)ContextActionService:UnbindAction(THROTTLE_ACTION_NAME)ContextActionService:UnbindAction(BRAKE_ACTION_NAME)ContextActionService:UnbindAction(HAND_BRAKE_ACTION_NAME)ContextActionService:UnbindAction(EXIT_ACTION_NAME)end local function Q(Z)N()LocalVehicleSeating.DisconnectFromSeatExitEvent(Q)script.Disabled=true end LocalVehicleSeating.OnSeatExitEvent(Q)
--Objects
local DriverSeat = Chassis.driverSeat

local function unbindActions()
	ContextActionService:UnbindAction(STEER_LEFT_ACTION_NAME)
	ContextActionService:UnbindAction(STEER_RIGHT_ACTION_NAME)
	ContextActionService:UnbindAction(THROTTLE_ACTION_NAME)
	ContextActionService:UnbindAction(BRAKE_ACTION_NAME)
	ContextActionService:UnbindAction(HAND_BRAKE_ACTION_NAME)
	ContextActionService:UnbindAction(EXIT_ACTION_NAME)
end

local function onExitSeat(Seat)
	unbindActions()
	LocalVehicleSeating.DisconnectFromSeatExitEvent(onExitSeat)
	script.Disabled = true
end
LocalVehicleSeating.OnSeatExitEvent(onExitSeat)
