Trying to make the lights that generate have a chance not to exist.

I want to have sea lanterns that have a chance of not being generated in the structure. I looked online and through some of the resources and im not sure if im just going to mess it up more by adding anything. Kinda just looking to be pointed in the right direction
Continue to help post