execute as @e[tag=npc_start] run scoreboard players add @s time 1
execute as @e[tag=npc_m0] at @s if score @s time = @e[tag=npc_start,limit=1] time at @s run tp @e[tag=npc_start] ~ ~ ~ ~ ~
#execute if score @e[tag=npc_start,limit=1] time >= #end_m0 time run tag @e[tag=npc_d_1] add npc_d_1b
#execute if score @e[tag=npc_start,limit=1] time >= #end_m0 time run scoreboard players reset #npc_mstart V