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

How to check if player has been added?

Asked by 10 years ago
game.Players.PlayedAdded:connect(function(player)
    if player then
        print(player.Name .. " has entered")
    end
end)

Why dosen't this work?

1 answer

Log in to vote
2
Answered by
Merely 2122 Moderation Voter Community Moderator
10 years ago

You made a typo. The event's name is PlayerAdded, not PlayedAdded

1
oh, wow thanks :P NinjoOnline 1146 — 10y
1
No problem. If this is the correct answer, please click "Accept Answer" Merely 2122 — 10y
Ad

Answer this question