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
|
  |
| 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
|
  |
| 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
|
  |
| Joined: 04 Oct 2007 |
| Total Posts: 472 |
|
|
| 29 Jun 2012 02:45 PM |
| I love talking with myself... T_T |
|
|
| Report Abuse |
|