People have light follow trick

I’m building a map that requires each player to have a light of there own. They don’t hold the light they have a light that’s attached to them. I made it to where one person has a tag “light1” and it follows them but if another player joins it will give them the tag too and i don’t want that. It’s a 4 player game.

The easiest Way I can think of to do that is by using a string format “light{0}“ and make index 0 the total players in room and apply that to the tag.

Or you can set the tags based on the players room index.