generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Good alternatives to get the server's children in sequence?

Previous Thread :: Next Thread 
classy_chap is not online. classy_chap
Joined: 14 Mar 2009
Total Posts: 338
25 Jun 2016 04:45 PM
Is there any good alternatives to ""for _,v in pairs(game.Players:GetChildren())""?


Report Abuse
myactivetestplace is not online. myactivetestplace
Joined: 11 Jul 2015
Total Posts: 3733
25 Jun 2016 04:50 PM
game:GetService("Players")
Report Abuse
AxonMega is not online. 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 is not online. j_ffrey
Joined: 12 Apr 2015
Total Posts: 262
25 Jun 2016 05:03 PM
game.Players:GetPlayers()


Report Abuse
RGeeneus is not online. 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
classy_chap is not online. classy_chap
Joined: 14 Mar 2009
Total Posts: 338
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 is not online. 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 is not online. 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
classy_chap is not online. classy_chap
Joined: 14 Mar 2009
Total Posts: 338
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 is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
25 Jun 2016 05:19 PM
mate!!1


Report Abuse
bobalaka is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image