|
| 25 Mar 2015 03:06 PM |
So I have a script that chooses a random number from 1 to 45, it then calls a global function in a gui that all players have giving it the number, it then finds a frame that has the number on the end of it and then changes it's color
Can I do this with a single script?
"Conway, hat fancier" |
|
|
| Report Abuse |
|
|
| |
|
Sinblade
|
  |
| Joined: 14 Aug 2010 |
| Total Posts: 2782 |
|
| |
|
|
| 25 Mar 2015 03:26 PM |
oh yeah man how could i be so stupid :333
"Conway, hat fancier" |
|
|
| Report Abuse |
|
|
Sinblade
|
  |
| Joined: 14 Aug 2010 |
| Total Posts: 2782 |
|
| |
|
yobo89
|
  |
| Joined: 05 Jun 2010 |
| Total Posts: 2341 |
|
|
| 25 Mar 2015 03:30 PM |
You could iterate through the players
for i, player in pairs(game.Players:GetChildren()) do if player.PlayerGui then player.PlayerGui.ScreenGui.Frame.BackgroundColor3 = BackgroundColor3.new() end end |
|
|
| Report Abuse |
|
|