function mt:particles/legendary/deep_dark/l1/l1_0

execute if score @s mt.plot matches 28 run playsound minecraft:block.note_block.basedrum master @a[distance=..50] ~ ~ ~ 1.4 0.2 0.2
execute if score @s mt.plot matches 26 run playsound minecraft:block.note_block.basedrum master @a[distance=..50] ~ ~ ~ 0.2 0.3 0.4
execute if score @s mt.plot matches 24 run playsound minecraft:block.note_block.basedrum master @a[distance=..50] ~ ~ ~ 0.3 0.4 0.6
execute if score @s mt.plot matches 22 run playsound minecraft:block.note_block.basedrum master @a[distance=..50] ~ ~ ~ 0.4 0.5 0.8
execute if score @s mt.plot matches 20 run playsound minecraft:block.note_block.basedrum master @a[distance=..50] ~ ~ ~ 0.5 0.6 1
execute if score @s mt.plot matches 18 run playsound minecraft:block.note_block.basedrum master @a[distance=..50] ~ ~ ~ 0.6 0.7 1
execute if score @s mt.plot matches 16 run playsound minecraft:block.note_block.basedrum master @a[distance=..50] ~ ~ ~ 0.7 0.8 1
execute if score @s mt.plot matches 14 run playsound minecraft:block.note_block.basedrum master @a[distance=..50] ~ ~ ~ 0.8 0.9 0.2
execute if score @s mt.plot matches 12 run playsound minecraft:block.note_block.basedrum master @a[distance=..50] ~ ~ ~ 0.9 1 0.4
execute if score @s mt.plot matches 10 run playsound minecraft:block.note_block.basedrum master @a[distance=..50] ~ ~ ~ 1 1.1 0.6
execute if score @s mt.plot matches 8 run playsound minecraft:block.note_block.basedrum master @a[distance=..50] ~ ~ ~ 1.1 1.2 0.8
execute if score @s mt.plot matches 6 run playsound minecraft:block.note_block.basedrum master @a[distance=..50] ~ ~ ~ 1.2 1.3 1
execute if score @s mt.plot matches 4 run playsound minecraft:block.note_block.basedrum master @a[distance=..50] ~ ~ ~ 1.3 1.4 1
execute if score @s mt.plot matches 2 run playsound minecraft:block.note_block.basedrum master @a[distance=..50] ~ ~ ~ 1.4 1.5 1


execute if score @s mt.plot matches 29 run particle flash{color:[1.000,1.000,1.000,1.00]} ~ ~ ~ 0 0 0 0 1 force
execute if score @s mt.plot matches 15 run particle flash{color:[1.000,1.000,1.000,1.00]} ~ ~ ~ 0 0 0 0 1 force
execute if score @s mt.plot matches 1 run particle flash{color:[1.000,1.000,1.000,1.00]} ~ ~ ~ 0 0 0 0 1 force
execute if score @s mt.plot matches 29 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 28 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 27 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 26 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 25 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 24 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 23 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 22 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 21 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 20 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 19 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 18 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 17 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 16 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 15 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 14 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 13 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 12 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 11 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 10 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 9 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 8 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 7 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 6 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 5 run particle shriek{delay:1} ~ ~ ~ 0.2 0.2 0.2 0.1 1 force
execute if score @s mt.plot matches 29 run playsound minecraft:entity.warden.sonic_charge master @a[distance=..50] ~ ~ ~ 1.2 1.2 1
execute if score @s mt.plot matches 28 run playsound minecraft:block.sculk_sensor.clicking master @a[distance=..50] ~ ~ ~ 1.2 0.5 1
execute if score @s mt.plot matches 22 run playsound minecraft:block.sculk_sensor.clicking master @a[distance=..50] ~ ~ ~ 1.2 0.8 1
execute if score @s mt.plot matches 14 run playsound minecraft:block.sculk_sensor.clicking master @a[distance=..50] ~ ~ ~ 1.2 1 1
execute if score @s mt.plot matches 6 run playsound minecraft:block.sculk_sensor.clicking master @a[distance=..50] ~ ~ ~ 1.2 1.4 1


execute if score @s mt.plot matches 1 run function mt:treasure/biomes/deep_dark/legendary with entity @s equipment.feet.components."minecraft:custom_data"

scoreboard players remove @s mt.plot 1



