Hi thank you for your time and effort i have a simple error i want to get the layer name inside a script and then give the name to a string value like this

clonemap.plrName.Value=plrs.Name

plr is a the player object but this gives an error saying bad argument #3 (string expected, got nil)

3 comments

0

What are you trying to get it from? (Clicking, Touching, etc.) Or are you trying to do it for all players?

0

no i teleortl a list of players to their own maps in inside that map i have a stringvalue called plrName and then i want that strvalue to be the player name and i do all this inside a for loop for the list of players

0

Please do NOT post the same question over and over again!