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

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

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?

3 comments

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.

0

no its not you, its studio, hopefully thell fix it tommorow but its an issue everybody is having atm

0

thank god, i made a 5 months worth of scripts and it suddenly didn't work 1 day. Almost flipped da table

3 answers

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

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