scoreboard players add @s shard_timeout 1

execute if score @s shard_timeout matches 1 run tellraw @a[distance=..4] ["",{"text":"[!] ","color":"red","bold":true},{"translate":"msg.dropped_shards_warning","color":"gray"}]

execute if score @s shard_timeout matches 150.. run particle portal ~ ~.2 ~ 0.1 0.1 0.1 0.2 1 force

execute if score @s shard_timeout matches 200 run playsound custom.shard.break.layer1 ambient @a ~ ~ ~
execute if score @s shard_timeout matches 200 run playsound custom.shard.break.layer2 ambient @a ~ ~ ~
execute if score @s shard_timeout matches 200 run kill @s
