So when a new player joins I was hoping for it to put the players name on the text box, What am I doing wrong? Should it be local?
function onPlayerEntered(newPlayer)
print("First stage")
script.Parent.Name1.Text = "Player:" p.Name = ""
print("Second stage")
end
game.Players.ChildAdded:connect(onPlayerEntered)

5 comments
Does it need to be a local script?
Can be any type of script.
mk
And this thing was downvoted why?
I don't know