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
|
  |
| Joined: 27 Jan 2011 |
| Total Posts: 630 |
|
| |
|
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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| Joined: 27 Jan 2011 |
| Total Posts: 630 |
|
| |
|
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
|
  |
| Joined: 27 Jan 2011 |
| Total Posts: 630 |
|
| |
|
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 |
|
|
|
| 30 Mar 2015 05:26 PM |
| @Jimmy; It's not real multi-tasking. |
|
|
| Report Abuse |
|
|