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

Player added does not work in studio but work in game?

Asked by
deris88 146
8 years ago

Hello there. So yesterday I was working on my game and everything was going well. Today, since morning, this:

game.Players.PlayerAdded:connect(function()
      print 'Derp'
end)

does not work when I press Play in studio. However this works in game. Did I miss something or I'm doing something wrong?

1
Do you press play or play solo? Neither of those will fire the event. You should start a server instead so all the scripts and localscripts can interact properly. GoldenPhysics 474 — 8y
0
no its not you, its studio, hopefully thell fix it tommorow but its an issue everybody is having atm Jumbuu 110 — 8y
0
thank god, i made a 5 months worth of scripts and it suddenly didn't work 1 day. Almost flipped da table FlaminSparrow 65 — 8y

3 answers

Log in to vote
0
Answered by
Bulvyte 388 Moderation Voter
8 years ago
Edited 8 years ago

Hello there, deris, PlayerAdded is broken right now, so it won't work anymore for the Studio Solo mode till it's fixed.

Ad
Log in to vote
0
Answered by
Jumbuu 110
8 years ago

yea they changed it and its not going to go back to how it was any time soon, look at this link if you would like to run player added events in the new way

https://twitter.com/RbxDevTips/status/505861069529952256

Log in to vote
0
Answered by 8 years ago

https://twitter.com/RbxDevTips/status/505861069529952256

Hope this helps

Answer this question