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

Difference between PlayerEntered and PlayerAdded?

I was looking into PlayerEntered when I realized that PlayerEntered seems to be undocumented.

Is PlayerEntered only for when the player joins the game?

Or is it deprecated, and you are supposed to use PlayerAdded?

2 comments

0

It's literally the same thing. It' so similar, PlayerEntered has the same page as PlayerAdded.

0

Ok

2 answers

✓ Accepted answer

This is more of a guess,

PlayerEntered isn't an event for Players, or any other service to my knowledge. Instead, I believe that the wiki page is for people who get confused on Event names.

Searching for PlayerEntered brought be to a wiki redirect link,

PlayerEntered link

Because PlayerEntered doesn't exist/work, use PlayerAdded.

game.Players.PlayerAdded:connect(function(plr)

end)

Good Luck!

3 comments

0

PlayerEntered is more on the line of when the player spawns and PlayerAdded is when the player joins the server. In order to execute a script that happens when they spawn you will need to do both, in certain situations.

0

What? Wrong. CharacterAdded is the event you're thinking of. PlayerEntered does not exist.

0

That makes no sense, what you just said.

I believe PlayerEntered is for when you are scripting with parts and PlayerAdded is when he/she joins the game

1 comment

0

What.

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