scoreboard players tag @e[name=RandomTimerShootingstar,type=area_effect_cloud] add StartRandomSelection {Age:20}

execute @e[name=RandomTimerShootingstar,type=area_effect_cloud,tag=StartRandomSelection] ~ ~ ~ summon area_effect_cloud 0 10 0 {CustomName:"SpawnShootingstar",Duration:1,Tags:["RandomShootingstar"]}
execute @e[name=RandomTimerShootingstar,type=area_effect_cloud,tag=StartRandomSelection] ~ ~ ~ summon area_effect_cloud 0 10 0 {CustomName:"DontSpawnShootingstar",Duration:1,Tags:["RandomShootingstar"]}
execute @e[name=RandomTimerShootingstar,type=area_effect_cloud,tag=StartRandomSelection] ~ ~ ~ summon area_effect_cloud 0 10 0 {CustomName:"DontSpawnShootingstar",Duration:1,Tags:["RandomShootingstar"]}
execute @e[name=RandomTimerShootingstar,type=area_effect_cloud,tag=StartRandomSelection] ~ ~ ~ summon area_effect_cloud 0 10 0 {CustomName:"DontSpawnShootingstar",Duration:1,Tags:["RandomShootingstar"]}
execute @e[name=RandomTimerShootingstar,type=area_effect_cloud,tag=StartRandomSelection] ~ ~ ~ summon area_effect_cloud 0 10 0 {CustomName:"DontSpawnShootingstar",Duration:1,Tags:["RandomShootingstar"]}

scoreboard players tag @r[type=area_effect_cloud,tag=RandomShootingstar] add SelectedShootingstar

function main:lobby/nightsky/initshootingstar if @e[tag=SelectedShootingstar,type=area_effect_cloud,name=SpawnShootingstar]
function main:lobby/nightsky/initcreateshootingstar if @e[tag=SelectedShootingstar,type=area_effect_cloud]