of     1   

shadowman670
#226775018Tuesday, October 24, 2017 3:18 PM GMT

I have this script. It's in the string value. game.Players.ChildAdded:connect(function(player) if script.Parent.Value == nil then print("A player has entered: " .. player.Name) -- This part works. script.Parent.Value = player.Name -- This part doesn't work. end end) It prints playerName correctly, but doesn't change the value, and if I will do it like this: game.Players.ChildAdded:connect(function(player) if script.Parent.Value == nil then print(player.Name) -- This part doesn't work. script.Parent.Value = player.Name -- This part doesn't work. end end) It doesn't event print the name!!! HOW IS IT SUPPOSED TO WORK? Russia - [Rusha] - RUSH A!!! Russia must to RUSH A instead B.....
nextgenplatform
#226775102Tuesday, October 24, 2017 3:22 PM GMT

Lol haha he never going to know
shadowman670
#226775143Tuesday, October 24, 2017 3:24 PM GMT

What is purpose of your comment? Go ahead, if you don't know the answer. Russia - [Rusha] - RUSH A!!! Russia must to RUSH A instead B.....
nextgenplatform
#226775191Tuesday, October 24, 2017 3:26 PM GMT

Hahaha keep waiting shadowkid
CMVProduction
#226775316Tuesday, October 24, 2017 3:33 PM GMT

Put this script in ServerScriptService and use the regular script, not the LocalScript. For the love of magic man in the sky, whitespace (ident) your code ~Siggy? What is a siggy?
shadowman670
#226775353Tuesday, October 24, 2017 3:34 PM GMT

It doesn't work there and I have REGUALR script... Russia - [Rusha] - RUSH A!!! Russia must to RUSH A instead B.....
CMVProduction
#226775362Tuesday, October 24, 2017 3:35 PM GMT

Forget about the indentation. Adding a new makes it look it is not whitespaced. ~Siggy? What is a siggy?
CMVProduction
#226775414Tuesday, October 24, 2017 3:37 PM GMT

Then don't set the script's parent StringValue. Set the StringValue as the script's child. Script then StringValue. Not StringValue and then Script ~Siggy? What is a siggy?
nextgenplatform
#226775424Tuesday, October 24, 2017 3:37 PM GMT

Lmao get the popcorn real pro help hahahah
shadowman670
#226775695Tuesday, October 24, 2017 3:50 PM GMT

Doesn't work. It looks like it's not about the value, becouse when print function has more "Deatils" print("A player has entered:" .. player.Value) it works, but when i delete this and just set print(player.Name) or print(player) it doesn't print anything... Thank you for tryinhg to help... Russia - [Rusha] - RUSH A!!! Russia must to RUSH A instead B.....
shadowman670
#226775716Tuesday, October 24, 2017 3:51 PM GMT

Kid, just hek off. No-one cares on you. Russia - [Rusha] - RUSH A!!! Russia must to RUSH A instead B.....
SurKipper
#226776459Tuesday, October 24, 2017 4:27 PM GMT

Do you want it to keep working when more players enter or do you just want it to run the first time? and also I used this script and it works perfectly ServerScriptService >>Script >>>>StringValue ----- game.Players.PlayerAdded:connect(function(player) if ######################## ## '' then print(player.Name) script.StringValue.Value = player.Name end end)
SurKipper
#226776489Tuesday, October 24, 2017 4:28 PM GMT

game.Players.PlayerAdded:connect(function(player) if ######################## ## '' then print(player.Name) script.StringValue.Value = player.Name end end)
SurKipper
#226776524Tuesday, October 24, 2017 4:30 PM GMT

in a script that has a StringValue named StringValue game.Players.PlayerAdded:connect(function(player) if ######################## ## '' then print(player.Name) script.StringValue.Value = player.Name end end)

    of     1