scoreboard players add @s generic_timer 1

scoreboard players add @s generic_timer2 1
execute if score @s generic_timer2 matches 5 run particle minecraft:dolphin ~ ~ ~ 2 2 2 0.05 1 normal @a
execute if score @s generic_timer2 matches 5.. run scoreboard players set @s generic_timer2 0

execute if score @s generic_timer > @s generic_timer_max run function pctf:logic/items/scrolls/illusory_bridge/detonate