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: Inserting GUIs.

Previous Thread :: Next Thread 
MrHockey is not online. MrHockey
Joined: 04 Oct 2007
Total Posts: 472
29 Jun 2012 02:14 PM
Here is my script so far...

Flag = game.Workspace.Tier1F.Flag
GA1 = game.StarterGui.Tier1.GreyArmy1
R1 = game.StarterGui.Tier1.Raiders1
A1 = game.StarterGui.Tier1.Allies1

GA1L:clone() = game.Lighting.GreyArmy1
R1L:clone() = game.Lighting.Raiders1
A1L:clone() = game.Lighting.Allies1

if Flag.BrickColor == BrickColor.new("Really red") then
R1L.(insert into players Gui)


What I want it to do is when Raiders capture the flag and turn it Really red, then a TextLabel is inserted into every persons screen, which I believe is called "PlayerGui"

As you can see, I am storing GUIs in lighting. When I move the GUI, I would like it to go to a certain position. For this specific one I am working on, the position is {0, 25}, {0, 411}. It might go their automatically however...I am not sure.


If anyone could give me the last line, that would be awesome. Thanks so much to those who have helped me so far.
Report Abuse
MrHockey is not online. MrHockey
Joined: 04 Oct 2007
Total Posts: 472
29 Jun 2012 02:20 PM
I read the wiki. It says the Player GUIs disappear when the player dies. So in order for it to stay up on the screen when they respawn will I have to change the StarterGui as well?
Report Abuse
MrHockey is not online. MrHockey
Joined: 04 Oct 2007
Total Posts: 472
29 Jun 2012 02:34 PM
Does it have to do with changing the parents?
Report Abuse
MrHockey is not online. MrHockey
Joined: 04 Oct 2007
Total Posts: 472
29 Jun 2012 02:45 PM
I love talking with myself... T_T
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