$damage @s $(x) kiwi3:bypass_damage by @p[nbt={Inventory:[{id:"minecraft:structure_block",components:{"minecraft:custom_data":{black_flash_emulator:1b}}}]}]
effect give @s weakness 2 1 true
effect give @s slowness 2 4 true

particle crit ~ ~1 ~ 0.3 0.3 0.3 0.5 20
particle falling_dust{block_state:{Name:"redstone_block"}} ~ ~1 ~ 0.5 0.7 0.5 1 75
particle flash ~ ~-0.1 ~ 0.3 0 0.3 0.5 5
particle dust_pillar{block_state:redstone_block} ~ ~1 ~ 0.7 0.5 0.7 .5 100
playsound entity.player.attack.crit player @a[distance=..25] ~ ~ ~ 5 0.8
playsound entity.player.attack.crit player @a[distance=..25] ~ ~ ~ 5 0
playsound minecraft:entity.iron_golem.damage player @a[distance=..25] ~ ~ ~ 0.7 0
playsound minecraft:block.trial_spawner.ominous_activate player @a[distance=..25] ~ ~ ~ 4 2
playsound minecraft:block.trial_spawner.spawn_item player @a[distance=..25] ~ ~ ~ 4 0.5