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

Help with playeradded?

Asked by 9 years ago
game.Players.PlayerAdded:connect(function(player)
    print("hey")
end)

Why dosen't this work? It's inside a script Inside a GUI. It dosent print in output, and I have no freaking idea why. Please help.

1 answer

Log in to vote
2
Answered by
RedCombee 585 Moderation Voter
9 years ago

It sounds like you're using Play Solo and not Start Server > Start Player. The PlayerAdded event does not work in Play Solo.

0
both donts work NinjoOnline 1146 — 9y
0
and player added works in play solo if the script is inside workspace. I don't know why it dosent work inside guis anymore NinjoOnline 1146 — 9y
Ad

Answer this question