execute if score @n[type=marker,tag=rlgl,tag=stop] generic_timer3 matches 0 if score @s[nbt={HurtTime:0s}] hp matches ..6 run return run function pctf:logic/items/lucky_block/outcomes/global/redlight_greenlight/player/die
execute if score @n[type=marker,tag=rlgl,tag=stop] generic_timer3 matches 0 run damage @s 4 minecraft:generic_kill by @n[type=marker,tag=rlgl,tag=stop]
execute if score @n[type=marker,tag=rlgl,tag=stop] generic_timer3 matches 0 if entity @s[nbt={HurtTime:10s}] run playsound minecraft:entity.donkey.hurt player @a ~ ~ ~ 2 2