|
| 25 Jun 2016 04:45 PM |
Is there any good alternatives to ""for _,v in pairs(game.Players:GetChildren())""?
|
|
|
| Report Abuse |
|
|
|
| 25 Jun 2016 04:50 PM |
| game:GetService("Players") |
|
|
| Report Abuse |
|
|
AxonMega
|
  |
| Joined: 29 Aug 2014 |
| Total Posts: 2403 |
|
|
| 25 Jun 2016 05:02 PM |
| for _, v in ipairs (game.Players:GetPlayers()) |
|
|
| Report Abuse |
|
|
j_ffrey
|
  |
| Joined: 12 Apr 2015 |
| Total Posts: 262 |
|
| |
|
RGeeneus
|
  |
| Joined: 22 Aug 2015 |
| Total Posts: 18 |
|
|
| 25 Jun 2016 05:04 PM |
You need a little more detail to describe what answer you are actually looking for.
If you need to look through children, then for _, v in pairs(Thing:GetChildren()) is what you use, obviously depending on the task you are trying to accomplish. |
|
|
| Report Abuse |
|
|
|
| 25 Jun 2016 05:09 PM |
Trying to give every player F3X Build Tools but whenever I do it lags in Studio. I later find out I go in game and it's fine? I don't know if that's on F3X lagging or Studio.
|
|
|
| Report Abuse |
|
|
Casualist
|
  |
| Joined: 26 Jun 2014 |
| Total Posts: 4443 |
|
|
| 25 Jun 2016 05:11 PM |
| You'll have to post the code you're using, because your issue wouldn't be caused by the snippet you posted. |
|
|
| Report Abuse |
|
|
j_ffrey
|
  |
| Joined: 12 Apr 2015 |
| Total Posts: 262 |
|
|
| 25 Jun 2016 05:13 PM |
game.ReplicatedStorage["F3X"]:Clone().Parent = game.Players.LocalPlayer.Backpack
|
|
|
| Report Abuse |
|
|
|
| 25 Jun 2016 05:14 PM |
oh my god mate i'm not that stupid. I said everyone's Backpack through a ServerScript for a reason. I don't need help anymore anyway, I don't know what's wrong with Studio.
|
|
|
| Report Abuse |
|
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
| |
|
bobalaka
|
  |
| Joined: 04 Nov 2009 |
| Total Posts: 249 |
|
|
| 25 Jun 2016 05:20 PM |
r u ok mang
sass wont fix your scripts |
|
|
| Report Abuse |
|
|