Look at your code:
textureName = "Add-Ons/Server_Tests/rainbow";
It is the wrong path, since your addon is called "Script_PlayerTrails"
The addon probably had an other name before, which you still have in your addons folder.
That is why you can see the trails, but not your friend.