random() has only 1 parameter as I clearly showed in my example.
If you want 2 parameters, you need to use random_num(). Although if you're starting from index 0, there's no point in doing that as random() already does that.
Also also, why are you applying a submodel after removing the parachute?