scoreboard players set @e Crater2 0
scoreboard players set @e[type=armor_stand,name=DayQ] Crater2 1
#???data merge block ~ ~1 ~ {auto:1b}
kill @e[type=armor_stand,name=CraterSpawner]
kill @e[type=armor_stand,name=Crater]
#data merge block ~ ~1 ~ {auto:1b}




#this next part used to be a timer over 20 ticks but now all happens at once

execute at @a[sort=random,limit=1,tag=K] run summon armor_stand ~ ~ ~ {CustomName:"\"CraterSpawn\"",Small:1,Marker:1b,Invisible:1b,Silent:1b,Invulnerable:1,NoGravity:1,DisabledSlots:2039583}
execute at @a[sort=random,limit=1,tag=K] run summon armor_stand ~ ~ ~ {CustomName:"\"CraterSpawn\"",Small:1,Marker:1b,Invisible:1b,Silent:1b,Invulnerable:1,NoGravity:1,DisabledSlots:2039583}
execute at @a[sort=random,limit=1,tag=K] run summon armor_stand ~ ~ ~ {CustomName:"\"CraterSpawn\"",Small:1,Marker:1b,Invisible:1b,Silent:1b,Invulnerable:1,NoGravity:1,DisabledSlots:2039583}
execute at @a[sort=random,limit=1,tag=K] run summon armor_stand ~ ~ ~ {CustomName:"\"CraterSpawn\"",Small:1,Marker:1b,Invisible:1b,Silent:1b,Invulnerable:1,NoGravity:1,DisabledSlots:2039583}
execute at @a[sort=random,limit=1,tag=K] run summon armor_stand ~ ~ ~ {CustomName:"\"CraterSpawn\"",Small:1,Marker:1b,Invisible:1b,Silent:1b,Invulnerable:1,NoGravity:1,DisabledSlots:2039583}
execute at @a[sort=random,limit=1,tag=K] run summon armor_stand ~ ~ ~ {CustomName:"\"CraterSpawn\"",Small:1,Marker:1b,Invisible:1b,Silent:1b,Invulnerable:1,NoGravity:1,DisabledSlots:2039583}
execute at @a[sort=random,limit=1,tag=K] run summon armor_stand ~ ~ ~ {CustomName:"\"CraterSpawn\"",Small:1,Marker:1b,Invisible:1b,Silent:1b,Invulnerable:1,NoGravity:1,DisabledSlots:2039583}
execute at @a[sort=random,limit=1,tag=K] run summon armor_stand ~ ~ ~ {CustomName:"\"CraterSpawn\"",Small:1,Marker:1b,Invisible:1b,Silent:1b,Invulnerable:1,NoGravity:1,DisabledSlots:2039583}
execute at @a[sort=random,limit=1,tag=K] run summon armor_stand ~ ~ ~ {CustomName:"\"CraterSpawn\"",Small:1,Marker:1b,Invisible:1b,Silent:1b,Invulnerable:1,NoGravity:1,DisabledSlots:2039583}
execute at @a[sort=random,limit=1,tag=K] run summon armor_stand ~ ~ ~ {CustomName:"\"CraterSpawn\"",Small:1,Marker:1b,Invisible:1b,Silent:1b,Invulnerable:1,NoGravity:1,DisabledSlots:2039583}
execute at @a[sort=random,tag=K] run spreadplayers ~ ~ 1 30 false @e[type=armor_stand,name=CraterSpawn]
execute at @a[sort=random,tag=K] run spreadplayers ~ ~ 1 30 false @e[type=armor_stand,name=CraterSpawn]
execute as @e[sort=random,type=armor_stand,name=CraterSpawn,limit=1] run data merge entity @s {CustomName:"\"CraterSpawner\""}
kill @e[type=armor_stand,name=CraterSpawn]
execute at @e[type=armor_stand,name=DayQ] run summon armor_stand ~ ~ ~ {CustomName:"\"Crater\"",Small:1,Marker:1b,Invisible:1b,Silent:1b,Invulnerable:1,NoGravity:1,DisabledSlots:2039583}
scoreboard players set @e Crater2 0
data merge block 999982 125 999981 {auto:1b}
