execute as @n[type=zombie,tag=id23_mob] at @p run function main:game/mobs/ai/id/id23/teleport/tp_1

execute summon marker run function main:game/mobs/ai/id/id23/teleport/trail

scoreboard players set .tp_duration boss 2