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;
}
}
}