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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: How can I change a property in every single player at once?

Previous Thread :: Next Thread 
Vexture is not online. Vexture
Joined: 27 Jan 2011
Total Posts: 630
30 Mar 2015 04:43 PM
I need to change a property in a player's PlayerGui folder but I need to do it for every player. What do I do?
Report Abuse
Vexture is not online. Vexture
Joined: 27 Jan 2011
Total Posts: 630
30 Mar 2015 04:45 PM
Bump
Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
30 Mar 2015 04:45 PM
it wouldn't do it instantly, but it would be nearly close to instantly

use a for loop to loop through all the players, and then do what you want from there
Report Abuse
Seranok is not online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
30 Mar 2015 04:46 PM
Loop through all players and modify the property in their PlayerGuis?
Report Abuse
Vexture is not online. Vexture
Joined: 27 Jan 2011
Total Posts: 630
30 Mar 2015 04:49 PM
How would I loop through the players with a for loop? qq
Report Abuse
JimmyChance is not online. JimmyChance
Joined: 01 Nov 2009
Total Posts: 3681
30 Mar 2015 04:50 PM
Can't you spawn a function in the loop to make it do it instantly for all players?
Report Abuse
Vexture is not online. Vexture
Joined: 27 Jan 2011
Total Posts: 630
30 Mar 2015 05:20 PM
but how? xd
Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
30 Mar 2015 05:21 PM
for i, v in pairs(game.Players:GetPlayers()) do

end

a for loop that loops through all the players
Report Abuse
Vexture is not online. Vexture
Joined: 27 Jan 2011
Total Posts: 630
30 Mar 2015 05:23 PM
Oh, thanks! ;p
Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
30 Mar 2015 05:25 PM
http://wiki.roblox.com/index.php?title=Generic_for

more information about generic for loops (what i just used)

if you don't understand numerical for loops i'd look at those first
and understand tables some too

Report Abuse
KOTwarrior is not online. KOTwarrior
Joined: 13 Jun 2012
Total Posts: 4376
30 Mar 2015 05:26 PM
@Jimmy; It's not real multi-tasking.
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