execute at @a[scores={uses1=1},nbt={SelectedItem:{id:"minecraft:warped_fungus_on_a_stick",tag:{spell:1b}}}] run effect give @e[distance=..50] minecraft:glowing 1 0 true
scoreboard players set @a[scores={uses1=1..},nbt={SelectedItem:{id:"minecraft:warped_fungus_on_a_stick",tag:{spell:1b}}}] uses1 0