scoreboard players add @e[type=silverfish,tag=jjc_copperfish2] jjc_404 1
effect give @e[type=silverfish,tag=jjc_copperfish2,scores={jjc_404=1}] slowness 5 6 true
execute as @e[type=silverfish,tag=jjc_copperfish2,scores={jjc_404=1}] at @s run playsound minecraft:entity.illusioner.prepare_blindness hostile @a[distance=..200] ~ ~ ~ 1.5 0
execute as @e[type=silverfish,tag=jjc_copperfish2,predicate=colosseum_of_fools:random/0.5] at @s run data merge entity @n[distance=..200,type=block_display,tag=jjc_copperfish02] {block_state:{Properties:{powered:"true"}}}
execute as @e[type=silverfish,tag=jjc_copperfish2,predicate=colosseum_of_fools:random/0.5] at @s run data merge entity @n[distance=..200,type=block_display,tag=jjc_copperfish02] {block_state:{Properties:{powered:"false"}}}
execute as @e[type=silverfish,tag=jjc_copperfish2] at @s run particle firework ~ ~3.9 ~ 0 0 0 0.05 1 normal
execute as @e[type=silverfish,tag=jjc_copperfish2,scores={jjc_404=29}] at @s as @n[distance=..200,type=marker,tag=jjc_copperfish01] at @s positioned ~ ~2.5 ~ facing entity @p[predicate=colosseum_of_fools:survive,tag=jjc_p,distance=..60] feet run tp @s ~ ~ ~ ~ 70
execute as @e[type=silverfish,tag=jjc_copperfish2,scores={jjc_404=30..50}] at @s as @n[distance=..200,type=marker,tag=jjc_copperfish01] at @s run tp @s ~ ~ ~ ~ ~-5
execute as @e[type=silverfish,tag=jjc_copperfish2,scores={jjc_404=60..80}] at @s as @n[distance=..200,type=marker,tag=jjc_copperfish01] at @s run tp @s ~ ~ ~ ~ ~5
execute as @e[type=silverfish,tag=jjc_copperfish2,scores={jjc_404=30..50}] at @s as @n[distance=..200,type=marker,tag=jjc_copperfish01] at @s positioned ~ ~2.5 ~ run function colosseum_of_fools:ss/copperfish/2/lazer
execute as @e[type=silverfish,tag=jjc_copperfish2,scores={jjc_404=51..60},predicate=colosseum_of_fools:random/0.4] at @s as @n[distance=..200,type=marker,tag=jjc_copperfish01] at @s positioned ~ ~2.5 ~ run function colosseum_of_fools:ss/copperfish/2/lazer
execute as @e[type=silverfish,tag=jjc_copperfish2,scores={jjc_404=61..80}] at @s as @n[distance=..200,type=marker,tag=jjc_copperfish01] at @s positioned ~ ~2.5 ~ run function colosseum_of_fools:ss/copperfish/2/lazer
scoreboard players reset @e[type=marker,tag=jjc_copperfish01] jjc_202
tag @e[type=silverfish,tag=jjc_copperfish2,scores={jjc_404=100..}] add jjc_copperfish2_r
execute as @e[type=silverfish,tag=jjc_copperfish2_r] at @s run data merge entity @n[distance=..200,type=block_display,tag=jjc_copperfish02] {block_state:{Properties:{powered:"false"}}}
scoreboard players reset @e[type=silverfish,tag=jjc_copperfish2_r] jjc_404
tag @e[type=silverfish,tag=jjc_copperfish2_r] remove jjc_copperfish2
tag @e[type=silverfish,tag=jjc_copperfish2_r] remove jjc_copperfish2_r