local i=Chassis.driverSeat local function c()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 K(i)c()LocalVehicleSeating.DisconnectFromSeatExitEvent(K)script.Disabled=true end LocalVehicleSeating.OnSeatExitEvent(K)

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)
