execute if entity @s[tag=random_zombie] if entity @s[tag=in_air] if block ~ ~-0.25 ~ #pctf:projectile_pass run effect give @s minecraft:invisibility 1 0 true
execute if entity @s[tag=random_zombie] if entity @s[tag=in_air] unless block ~ ~-0.25 ~ #pctf:projectile_pass run function pctf:logic/game/apocalypse/zombie_grounded

scoreboard players add @s generic_timer2 1
execute if score @s[tag=!mega] generic_timer2 matches 1200.. run tp @s ~ ~-1000 ~
execute if score @s[tag=mega] generic_timer2 matches 2400.. run tp @s ~ ~-1000 ~