Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Difference between PlayerEntered and PlayerAdded?

Asked by 8 years ago

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?

0
It's literally the same thing. It' so similar, PlayerEntered has the same page as PlayerAdded. SimplyRekt 413 — 8y
0
Ok RadioactiveSherbet 30 — 8y

2 answers

Log in to vote
0
Answered by 8 years ago

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!

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. yougottols1 420 — 8y
0
What? Wrong. CharacterAdded is the event you're thinking of. PlayerEntered does not exist. User#11440 120 — 8y
0
That makes no sense, what you just said. yougottols1 420 — 8y
Ad
Log in to vote
-2
Answered by 8 years ago

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

0
What. Im_Kritz 334 — 8y

Answer this question