scoreboard players add @e[distance=..3,type=marker,tag=ParatroopersEvent] KyuDummy 1
scoreboard players add @e[distance=..3,type=marker,tag=ParatroopersEvent] KyuDummy2 1
execute as @e[distance=..3,type=marker,tag=ParatroopersEvent,scores={KyuDummy=..200}] run execute if predicate suhc:10percent run execute as @a[tag=K,gamemode=!spectator] run execute at @s run function zzzzdonotuse:randomevent/paratroopers/paratroopersspawn
execute as @e[distance=..3,type=marker,tag=ParatroopersEvent,scores={KyuDummy=201..600}] run execute if predicate suhc:10percent run execute if predicate suhc:50percent run execute at @a[tag=K,gamemode=!spectator] run function zzzzdonotuse:randomevent/paratroopers/paratroopersspawn

#execute as @e[distance=..3,type=marker,tag=ParatroopersEvent,scores={KyuDummy2=150..}] run function zzzzdonotuse:randomevent/paratroopers/paratroopers
execute as @e[type=pig,tag=ParatroopersEventSpawnPig,tag=!Grounded] run function zzzzdonotuse:randomevent/paratroopers/paratroopersfly

execute if entity @e[distance=..3,type=marker,tag=ParatroopersEvent,scores={KyuDummy=1800..}] run execute in overworld run data merge block 999982 128 999977 {auto:0b}
execute if entity @e[distance=..3,type=marker,tag=ParatroopersEvent,scores={KyuDummy=1800..}] run kill @e[distance=..3,type=marker,tag=ParatroopersEvent,scores={KyuDummy=1800..}]

execute unless entity @e[distance=..3,type=marker,tag=ParatroopersEvent] run execute in overworld run data merge block 999982 128 999977 {auto:0b}