Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

is it possible to print player username?

i trying to print player username but it didn't work

print(game.Players.Annon28.Name)

and i also get this error message 21:20:55.690 -Annon28 is not a valid member of Players

1 answer

✓ Accepted answer

Yes, you can, but i'm not similar to the way you did it. This is my example :

game.Players.PlayerAdded:Connect(function(player)
print(player.Name.. " Has joined the game!")
end)

If this did work, please accept the answer.

--oSy

1 comment

1

It also didn't work because you wanted to print a child that hasn't been added to the Players list as yet

This discussion is preserved as it was. New answers, comments, and votes are closed.