Car speed keep increasing

Speed keeps increasing even if i set WheelCollider.motortorque = 0f . Any ideas how can i fix this ? Thanks for your time

Are there any other scripts or components attached to the car that can potentially affect it’s behavior? There’s not enough information to diagnose, can you provide a screenshot or a more detailed description of the situation?

private void Update()
{
if(Input.GetKey(“Up”))
{
for(int i = 0 ;i<4;++i){
wheelColliders*.motorTorque = 1200f;*

  • }*
    }
    else
    {
  • for(int i = 0 ;i<4;++i){*
    _ wheelColliders*.motorTorque = 0f;_
    _
    }_
    _
    }_
    Debug.Log($“{rigidoby.velocity.magnitude * 3.6}”);
    _
    }*_

nevermind