Hey, I m new to NBTs things and I tryed to make a code example for my other scripts, using example listed in skhub, and here's my current code but it does not broadcast {_n}, please tell me how can I do that:
set {_i} to {_p}'s held item
if nbt compound of {_i} does not have nbt tag "lucky":
set double tag "lucky" of nbt of {_i} to 3.14
set {_n} to double tag "lucky" of nbt of {_i}
remove {_i} from {_p}
give {_p} {_i}
broadcast {_n}```