execute at @s[tag=KyuPyramidTag] run execute unless entity @e[type=marker,distance=..50,tag=KyuBigPyramid] run tag @s remove KyuPyramidTag
execute at @s[tag=KyuAdventureTag,gamemode=!survival,gamemode=!creative] run execute unless entity @e[type=marker,distance=..50,tag=KyuForceAdventure] run gamemode survival
execute at @s[tag=KyuAdventureTag] run execute unless entity @e[type=marker,distance=..50,tag=KyuForceAdventure] run tag @s remove KyuAdventureTag



tag @s[tag=!KyuPyramidTag,tag=!KyuAdventureTag] remove KyuSpecialPlayerTag
