scoreboard players add @e[type=silverfish,tag=jjc_copperfish4] jjc_505 1
execute as @e[type=silverfish,tag=jjc_copperfish4,scores={jjc_505=1}] at @s run playsound block.trial_spawner.detect_player block @a[distance=..200] ~ ~2.9 ~ 3 1
execute as @e[type=silverfish,tag=jjc_copperfish4,scores={jjc_505=1..60}] at @s run particle flame ~ ~2.9 ~ 0.25 0.25 0.25 0.01 1 normal
execute as @e[type=silverfish,tag=jjc_copperfish4,scores={jjc_505=1}] at @s run data merge entity @n[distance=..200,type=block_display,tag=jjc_copperfish03] {block_state:{Properties:{trial_spawner_state:"active"}}}
scoreboard players set @e[type=silverfish,tag=jjc_copperfish4,scores={jjc_505=40}] jjc_606 3
execute as @e[type=silverfish,tag=jjc_copperfish4,scores={jjc_505=40..,jjc_606=1..}] at @s run summon marker ~ ~ ~ {Tags:["jjc_copperfish4m"]}
execute as @e[type=marker,tag=jjc_copperfish4m] at @s run function colosseum_of_fools:ss/copperfish/chorus/1
execute as @e[type=silverfish,tag=jjc_copperfish4,scores={jjc_505=60..,jjc_606=..0}] at @s run data merge entity @n[distance=..200,type=block_display,tag=jjc_copperfish03] {block_state:{Properties:{trial_spawner_state:"cooldown"}}}
tag @e[type=silverfish,tag=jjc_copperfish4,scores={jjc_505=60..,jjc_606=..0}] add jjc_copperfish40
tag @e[type=silverfish,tag=jjc_copperfish40,scores={jjc_505=60..,jjc_606=..0}] remove jjc_copperfish4
scoreboard players reset @e[type=silverfish,tag=jjc_copperfish40,scores={jjc_505=60..,jjc_606=..0}] jjc_505