particle dust_color_transition{from_color:[1.000,0.000,0.973],scale:2,to_color:[0.000,0.267,1.000]} ~ ~ ~ .1 .1 .1 1 1 normal
playsound minecraft:entity.villager.work_librarian block @a[distance=..32] ~ ~ ~ .5 1.2

kill @s