This function parameter expects a value of type tuple()->void, but this argument is an incompatible value of type player->void.(3509)

VehicleSpawnedEvent does not accept any function that has a parameters in it. When you check VehicleSpawnedEvent event in the API, you gonna notice it is type listenable(tuple()) which means the function inserted should be parameterless. In your case the carRide has player parameter which is not acceptable.