schedule function lbdm:quest2/fog 1t

execute as @e[type=text_display,tag=fog_z] at @s run tp @s ~ ~ ~-0.002

execute as @e[type=text_display,tag=fog_z] at @s positioned ~ ~ -62 if entity @s[distance=..1] positioned ~ ~ ~ run tp @s ~ ~ ~70