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 » Scripting Helpers
Home Search
 

Re: Is it possible to?

Previous Thread :: Next Thread 
ChocCookieRaider is not online. ChocCookieRaider
Joined: 10 Mar 2012
Total Posts: 338
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
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
09 Apr 2012 03:31 PM
Iterate through the player's GUI and change it from there.

† KMXD †
Report Abuse
ChocCookieRaider is not online. ChocCookieRaider
Joined: 10 Mar 2012
Total Posts: 338
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 is not online. 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 is not online. 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 is not online. 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
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
09 Apr 2012 04:06 PM
@M

No...

† KMXD †
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
09 Apr 2012 04:10 PM
You could try GetChildren()
Report Abuse
ChocCookieRaider is not online. ChocCookieRaider
Joined: 10 Mar 2012
Total Posts: 338
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 is not online. 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
ChocCookieRaider is not online. ChocCookieRaider
Joined: 10 Mar 2012
Total Posts: 338
09 Apr 2012 05:11 PM
Thanks. I will yest it whe i go on my laptop tommorrow mornong¡¡¡¡¡¡
Report Abuse
ICSM1020 is not online. 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
HungerMinigames is not online. HungerMinigames
Joined: 01 Mar 2012
Total Posts: 358
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
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
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
ChocCookieRaider is not online. ChocCookieRaider
Joined: 10 Mar 2012
Total Posts: 338
10 Apr 2012 04:52 AM
ICM YOUR A GENIUS!
Report Abuse
ChocCookieRaider is not online. ChocCookieRaider
Joined: 10 Mar 2012
Total Posts: 338
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
ChocCookieRaider is not online. ChocCookieRaider
Joined: 10 Mar 2012
Total Posts: 338
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
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
10 Apr 2012 04:30 PM
Use mine? :D
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
10 Apr 2012 04:31 PM
^
Report Abuse
ChocCookieRaider is not online. ChocCookieRaider
Joined: 10 Mar 2012
Total Posts: 338
11 Apr 2012 08:32 AM
@epicfail22 Would i need to add a while true do to the top of that?
Report Abuse
su8 is not online. 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
ChocCookieRaider is not online. ChocCookieRaider
Joined: 10 Mar 2012
Total Posts: 338
11 Apr 2012 01:39 PM
Does anyone know why it wont work?
Report Abuse
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
11 Apr 2012 05:34 PM
No mine is fine the way it is. Just make sure to set it up right.
Report Abuse
ChocCookieRaider is not online. ChocCookieRaider
Joined: 10 Mar 2012
Total Posts: 338
12 Apr 2012 04:01 AM
It is. I'm sure of it. And it no work D:
Report Abuse
Cheater is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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