|
| 09 Apr 2012 03:20 PM |
| i have got a gui that's like a hint. But i want it so that it changes everyones gui AT THE SAME TIME!? |
|
|
| Report Abuse |
|
|
|
| 09 Apr 2012 03:31 PM |
Iterate through the player's GUI and change it from there.
† KMXD † |
|
|
| Report Abuse |
|
|
|
| 09 Apr 2012 04:00 PM |
| So how would you do Every single player? Because yhere isn't always going to be the same amount of players |
|
|
| Report Abuse |
|
|
mmmarlin
|
  |
| Joined: 22 Jun 2010 |
| Total Posts: 6038 |
|
|
| 09 Apr 2012 04:03 PM |
| Possibly do a script and use the Instance.new() thing to put it in. |
|
|
| Report Abuse |
|
|
mmmarlin
|
  |
| Joined: 22 Jun 2010 |
| Total Posts: 6038 |
|
|
| 09 Apr 2012 04:06 PM |
| Oh, wait!! You put the GUI in "StarterGui" it shows up on everyones screen no matter how many players there are! |
|
|
| Report Abuse |
|
|
velibor
|
  |
| Joined: 24 Nov 2009 |
| Total Posts: 1003 |
|
|
| 09 Apr 2012 04:06 PM |
for i,v in pairs(Game.Players:GetPlayers()) do -- Returns a Player Table -- Your code end
|
|
|
| Report Abuse |
|
|
| |
|
Miro034
|
  |
| Joined: 07 Oct 2009 |
| Total Posts: 6568 |
|
|
| 09 Apr 2012 04:10 PM |
| You could try GetChildren() |
|
|
| Report Abuse |
|
|
|
| 09 Apr 2012 05:01 PM |
| I sont get what you are suggesting so lets try i like this. If i wanted to change the text in a frame on al the players what would yhe script be to do that? |
|
|
| Report Abuse |
|
|
CrasyTrex
|
  |
| Joined: 13 Mar 2011 |
| Total Posts: 761 |
|
|
| 09 Apr 2012 05:05 PM |
players = game.Players:GetChildren() for i,v in pairs(players) do v.PlayerGui:FindFirstChild("Frame").Text = " Text here =D" end
|
|
|
| Report Abuse |
|
|
|
| 09 Apr 2012 05:11 PM |
| Thanks. I will yest it whe i go on my laptop tommorrow mornong¡¡¡¡¡¡ |
|
|
| Report Abuse |
|
|
ICSM1020
|
  |
| Joined: 09 Mar 2011 |
| Total Posts: 14277 |
|
|
| 09 Apr 2012 05:20 PM |
Make the Text have the Value as a StringValue that you may have in Workspace, and just change the StringValue's Value for everyone's text to change. (Doesn't make sense but example below)
Put this on the TextLabel: while true do wait() script.Parent.Text = game.Workspace.(NameOfYourStringValue).Value end
Now, put this either on the StringValue or in Workspace
while true do script.Parent.Value = (Enter Text) wait(How Long you Want it to) script.Parent.Value = (Enter Text) end
And go off from their. Having the TextLabel's text linked to the String will make it change on everyone's screen, no matter how many players. It works for me, might as well for you. \ |
|
|
| Report Abuse |
|
|
|
| 09 Apr 2012 05:23 PM |
| put a script in textlabel that changes the text to whatever value is in the workspace, thn change the value in the workspace and hurray your done |
|
|
| Report Abuse |
|
|
|
| 09 Apr 2012 05:42 PM |
Use this :D
gameHint = Instance.new('StringValue',Workspace) gameHint.Name = "GUI Hint"
Inside HintGUI- GUI,value = script.Parent,Workspace["GUI Hint"] value.Changed:connect(function() GUI.Text = value.Value for i=1, 2 do GUI.TextTransparency = 1 wait(.5) GUI.TextTransparency = 0 end end) |
|
|
| Report Abuse |
|
|
| |
|
|
| 10 Apr 2012 05:44 AM |
| Btw sry for my bad spelling yesterday, i was on my kindle and on party chat so i couldn't see half of what i was typing D: |
|
|
| Report Abuse |
|
|
|
| 10 Apr 2012 12:52 PM |
| @ICM One thing. It works but it doesn't do the updated text. So it will change to the first text, but not the second. |
|
|
| Report Abuse |
|
|
| |
|
Miro034
|
  |
| Joined: 07 Oct 2009 |
| Total Posts: 6568 |
|
| |
|
|
| 11 Apr 2012 08:32 AM |
| @epicfail22 Would i need to add a while true do to the top of that? |
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
|
| 11 Apr 2012 08:37 AM |
> AT THE SAME TIME!?
It's kinda hard to do that at the same time :PP If you know what I mean.. |
|
|
| Report Abuse |
|
|
|
| 11 Apr 2012 01:39 PM |
| Does anyone know why it wont work? |
|
|
| Report Abuse |
|
|
|
| 11 Apr 2012 05:34 PM |
| No mine is fine the way it is. Just make sure to set it up right. |
|
|
| Report Abuse |
|
|
|
| 12 Apr 2012 04:01 AM |
| It is. I'm sure of it. And it no work D: |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 12 Apr 2012 04:05 AM |
player = game.Players:GetPlayers() --I'm working on using this everytime now. :) for i = 1, #player do player[i].StarterGui.ScreenGui.VARIABEL.Text = "I now changed everyone's Hint."--Change VARIABEL to the gui you want to be changed. For example Frame.TextBox end |
|
|
| Report Abuse |
|
|