on leftclick with echo shard:
if line 9 of lore of player's tool contains "&fBasic":
set {_bullet} to eye location of player
play sound "entity.breeze.shoot" with volume 1 and pitch 1.8 at player
loop 5 times:
loop 4 times:
set {_bullet} to location 0.8 meters forward {_bullet}
draw 1 dust_color_transition using dustTransition(white, gray, 1) at {_bullet}
if block at {_bullet} is solid:
draw 5 dust_color_transition using dustTransition(gray, white, 2) at {_bullet}
set {_stop} to true
stop loop
set {_hit} to nearest entity in radius 1.5 around {_bullet}
if {_hit} is set:
damage {_hit} by 1 hearts
apply slowness 255 to {_hit} for 0.2 seconds
send title "&c●" to {_hit} for 20 ticks with fadein 0 second and fade out 0 second
send title "&c+" to player for 20 ticks with fadein 0 second and fade out 0 second
set {_stop} to true
stop loop
if {_stop} is true:
stop loop
wait 1 tick
idk what wrong, the dust transition was bugged? or no, its error and cant spawn the particle