summon marker ~ ~ ~ {Tags:[starspawn]}
execute as @e[tag=starspawn] run spreadplayers ~ ~ 40 100 false @s
execute at @e[tag=starspawn] run summon marker ~ 320 ~ {Tags:[star,special,setangle],CustomName:{"text":"Falling Star"}}
execute as @e[tag=star,tag=setangle] store result entity @s Rotation[0] float 1 run random value -180..180
execute as @e[tag=star,tag=setangle] store result entity @s Rotation[1] float 1 run random value 55..85
tag @e[tag=star,tag=setangle] remove setangle
execute as @e[tag=starspawn] run kill @s