tag @s remove NearSky
tag @s remove NearVoid

tag @s[predicate=suhc:nethercorruptnearskybox] add NearSky
tag @s[predicate=suhc:nethercorruptnearvoid] add NearVoid


execute if score #KyuAllowNetherCorruption KyuDummy matches 1 run execute as @s[tag=!NearSky,tag=!NearVoid] run function zzzzdonotuse:nethercorruption/corruptionredux3
execute if score #KyuAllowNetherCorruption KyuDummy matches 1 run execute as @s[tag=NearSky] run execute positioned ~ 285 ~ run function zzzzdonotuse:nethercorruption/corruptionredux3
execute if score #KyuAllowNetherCorruption KyuDummy matches 1 run execute as @s[tag=NearVoid] run execute positioned ~ -30 ~ run function zzzzdonotuse:nethercorruption/corruptionredux3
execute unless score #KyuAllowNetherCorruption KyuDummy matches 1 run kill @s[type=marker]