procedural level generation help

i.imgur.com/qSbnaaZ.jpg

its very basic. X is determined by random time of creation, Y is determined by random Y. They scroll and when on the other side of the screen, get destroyed.