How do I make a game object spawn several times in semi-random locations?

I am making a racing game where bombs drop from the sky and explode upon hitting the ground. I want to make the bombs drop from the sky in random positions ALONG the track (so there aren’t random bombs being dropped outside of the play area) and I want this to continue until the race is over. How could I go about doing this? I am not good at coding so specific instructions would be GREATLY APPRECIATED. Thank you so much!

use parent child linking or
array variable will help you to crate spawn point at any position.

var arr : Transform;