need help to generate random computer action

hi guy’s i’m trying make a base jump type game but in need the computer to make it pull out a “parachute” at a random time. i need a script i tired doing it my self but i suck a scripting please help.

function Start (){
  var num = Random.Range(1,10);
  Debug.Log(num);
  if(num > 1){
    var myTransform = gameObject.transform.position.y;
    myTransform = 5;
    if(myTransform){
       rigidbody.drag = 5;
    }
  }  
}

You suck at scripting and you want to make a game? Don’t you want to play them instead?

var maxValue:float;
function Start(){
   StartCoroutine(WaitForTimer());
}

function WaitForTimer()
{
   float timer = Random.Range(0.0f,maxValue );
   float t = 0;
   while(t < timer){
       t += Time.deltaTime;
       yield;
   }
   // parachute opening
}

You need a script, you got it.