|
| 08 Jun 2013 12:56 PM |
game.Players.PlayerAdded:connect(function(player) Instance.new("IntValue", player).Name = "GC" player.PlayerGui.ScreenGui.Frame.Visible = true end)
now i have no idea why its not working -_-
p.s this is for a personal build server, idk if that changes anything. |
|
|
| Report Abuse |
|
|
|
| 08 Jun 2013 12:58 PM |
| I just made a thread asking why "PlayerAdded" function isn't working in test mode. It used to work then I updated my studio. Now it doesn't work.. I have no idea why. |
|
|
| Report Abuse |
|
|
|
| 08 Jun 2013 12:59 PM |
| yes i have been wondering around in the forums all day -_- and for me this isnt just test mode this sometimes happens in online mode after i just updated a game. |
|
|
| Report Abuse |
|
|
|
| 08 Jun 2013 05:25 PM |
is this fixed yet?
#impatient |
|
|
| Report Abuse |
|
|
icanxlr8
|
  |
| Joined: 25 Feb 2009 |
| Total Posts: 3686 |
|
|
| 08 Jun 2013 05:28 PM |
I just realized it isn't working. I have a game, and I didn't realize the newPlayer.Name.." has become a pirate!" wasn't workin.
~ican't think of a good siggy~ |
|
|
| Report Abuse |
|
|
| |
|
2unknown2
|
  |
| Joined: 30 Oct 2011 |
| Total Posts: 9351 |
|
|
| 08 Jun 2013 05:29 PM |
Wont work for me too.
Please put "Send OneBillionFriends a friend request" as your profile description.Thanks if you do. |
|
|
| Report Abuse |
|
|
Desperian
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 3371 |
|
|
| 08 Jun 2013 05:57 PM |
@Lighted, I guess you didn't read the Wiki footnote on the 'PlayerAdded' event.
"Note: This method does not work as expected in solo mode, because the player is created before scripts that connect to PlayerAdded run."
@Others, If you're talking about 'Play Solo' then read the above, if you're not I've got no clue since it's working fine for me. |
|
|
| Report Abuse |
|
|
|
| 08 Jun 2013 05:59 PM |
| nope im fully aware that solo is wierd but this is happening online in my games, also yesterday playeradded was working fine in solo/test for me. |
|
|
| Report Abuse |
|
|
Desperian
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 3371 |
|
|
| 08 Jun 2013 06:03 PM |
@Prest, I do not know why it wouldn't be working online for you, as it's working perfectly fine for me, and I'm sure it's also working for the majority of other people. PlayerAdded, in solo, works in a peculiar manner as it doesn't always work, but it does sometimes on the odd chance or sometimes even consistently. |
|
|
| Report Abuse |
|
|
Skythen
|
  |
| Joined: 31 May 2013 |
| Total Posts: 432 |
|
|
| 08 Jun 2013 06:03 PM |
| Thats why my script isnt working... |
|
|
| Report Abuse |
|
|
shayan414
|
  |
| Joined: 11 Aug 2008 |
| Total Posts: 8090 |
|
|
| 08 Jun 2013 06:03 PM |
There have been various complaints regarding the PlayerAdded event recently.
I would hang in there for the moment and wait till ROBLOX gets a possible fix for this. |
|
|
| Report Abuse |
|
|
| |
|
shayan414
|
  |
| Joined: 11 Aug 2008 |
| Total Posts: 8090 |
|
|
| 08 Jun 2013 06:26 PM |
| It's not going to happen that fast. |
|
|
| Report Abuse |
|
|
|
| 08 Jun 2013 06:28 PM |
| i guess i can lurk around sh for a few more days. |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2013 07:52 AM |
STILL NOT WORKING!!!!!
well for me anyway. |
|
|
| Report Abuse |
|
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 09 Jun 2013 07:54 AM |
game.Players.PlayerAdded:connect(function(plyr) repeat wait() until plyr a = Instance.new("IntValue", plyr) a.Name = "GC" plyr.PlayerGui.ScreenGui.Frame.Visible = true end) |
|
|
| Report Abuse |
|
|
pauljkl
|
  |
| Joined: 23 Oct 2008 |
| Total Posts: 9364 |
|
|
| 09 Jun 2013 09:02 AM |
PlayerGui takes a short while after the player has been added to create itself. just add this: player:WaitForChild("PlayerGui") before trying to reference PlayerGui |
|
|
| Report Abuse |
|
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 09 Jun 2013 09:12 AM |
I prefer repeat wait() until plyr.PlayerGui
But everyone is different |
|
|
| Report Abuse |
|
|