I think the method is NewPlayer, don't know if that is even a method. I tried almost every method but failed for my script. Can someone help.
✓ ANSWER ACCEPTED
How do you detect if a new player joins a game?
1 answer
✓ Accepted answer
There's a PlayerAdded event of Players that does exactly what you're looking for. When a player joins the game, this event will fire.
With an anonymous function
game.Players.PlayerAdded:connect(function(plr)
print(plr.Name)
end)
With a normal function
function newPlayer(plr)
print(plr.Name)
end
game.Players.PlayerAdded:connect(newPlayer)
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
New player as in new to the game or new to the server?
New to the server, like they just joined.
Perci1's answer should do then