|
| 02 Jun 2014 10:36 PM |
| Anyone know what is wrong? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 02 Jun 2014 10:45 PM |
| Works fine for me. Is there any output or something for you? |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2014 10:48 PM |
| No, it works for everything except for game.Players |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
|
| 02 Jun 2014 10:50 PM |
Workspace.DescendantAdded:connect(function(descendant) print(descendant) end) |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2014 11:03 PM |
| @cntkillme, that is the problem, nothing is happening. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 02 Jun 2014 11:04 PM |
So there is no output or anything? And the script is enabled in a place it would run?
Weird, I'm going to test this right now since this is really strange. |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2014 11:04 PM |
if its not working for game.Players, you could always..
game.DescendantAdded:connect(function(D) if D:IsDescendantOf(game.Players) then
end
end) |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2014 11:06 PM |
| Well see, I am making my own PlayerList rather than the stupid ROBLOX CoreGui one. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 02 Jun 2014 11:08 PM |
| But why do you need descendant added? |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2014 11:18 PM |
| Because PlayerAdded doesn't work in a LocalScript and you need a LocalScript in order for the script to work. |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2014 11:20 PM |
lol, do you REALLY need a localscript for custom plrlist?
ive made 1 before, no localscript |
|
|
| Report Abuse |
|
|
|
| 02 Jun 2014 11:20 PM |
My is correct, go to PlaySolo and add part, it gonna print part. Slash a sword and it gonna print Animation and stuff |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 02 Jun 2014 11:23 PM |
| I still don't understand why you don't use ChildAdded |
|
|
| Report Abuse |
|
|
| |
|
|
| 02 Jun 2014 11:37 PM |
Well actually I have this:
repeat wait() until game.Players.LocalPlayer.PlayerGui
--Variables plr = game.Players.LocalPlayer chr = plr.Character Mouse = plr:GetMouse()
--PlayerNames game.Players.ChildAdded:connect(function(C) print(C.Name) s = Instance.new("TextLabel") s.Parent = script.Parent end) |
|
|
| Report Abuse |
|
|
| |
|
uyoyalt
|
  |
| Joined: 16 Apr 2013 |
| Total Posts: 2860 |
|
|
| 03 Jun 2014 01:02 AM |
| Are you trying this solo run or server. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Jun 2014 01:23 AM |
'repeat wait() until game.Players.LocalPlayer.PlayerGui' No doing this useless since you know PlayerGui exists since this script is being ran in it.
|
|
|
| Report Abuse |
|
|