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) thank you if you know the answer please give me a solution .