Please, correct me if I am to be wrong.
HTML Code:
text = player.attr[6].tokenize(",")[0];
Shouldn't this be
HTML Code:
text = player.attr[6][0];
However, you're finding that image over and over again.
Maybe use "attachtoowner" with a particle, which could give the same effect. You could also update it when necessary?
I don't know why you you can only see certain ones, maybe it's something calling this weapon? Make sure everyone is to receive the "trigger".