jasondee1
|
  |
| Joined: 26 Jul 2008 |
| Total Posts: 8002 |
|
|
| 13 Jun 2013 02:58 PM |
Hello all. I need help with a script that I wrote for a GUI menu to appear after the intro (lasts roughly 4 seconds) here is the script:
function IsVisible() i.Visible = false wait(3) i.Visible = true end
while true do p = script.Parent:GetChildren() for i = 1,#p do p[i]:IsVisible() end end
When I put this in my screengui nothing happens and the title ends up overlapping the intro gui.
I know i am missing something but I don't know what |
|
|
| Report Abuse |
|
|
|
| 13 Jun 2013 03:01 PM |
| Make the ZIndex of the intro 10 |
|
|
| Report Abuse |
|
|
|
| 13 Jun 2013 03:13 PM |
| Or lower the zindex of the title |
|
|
| Report Abuse |
|
|
jasondee1
|
  |
| Joined: 26 Jul 2008 |
| Total Posts: 8002 |
|
|
| 13 Jun 2013 03:14 PM |
It already is and the title screen is still infront of the intro gui
|
|
|
| Report Abuse |
|
|
jasondee1
|
  |
| Joined: 26 Jul 2008 |
| Total Posts: 8002 |
|
|
| 13 Jun 2013 03:16 PM |
| The Zindex of the title is 1 and the Zindex of the intro is 10, did nothing |
|
|
| Report Abuse |
|
|
jasondee1
|
  |
| Joined: 26 Jul 2008 |
| Total Posts: 8002 |
|
| |
|
jasondee1
|
  |
| Joined: 26 Jul 2008 |
| Total Posts: 8002 |
|
| |
|
|
| 13 Jun 2013 03:33 PM |
Question
does this happen when the player enters or is it for all players to experience live |
|
|
| Report Abuse |
|
|
jasondee1
|
  |
| Joined: 26 Jul 2008 |
| Total Posts: 8002 |
|
|
| 13 Jun 2013 03:34 PM |
| its when the player enters exclusively |
|
|
| Report Abuse |
|
|
Voidion
|
  |
| Joined: 01 Aug 2011 |
| Total Posts: 2668 |
|
|
| 13 Jun 2013 03:35 PM |
function IsVisible() p[i].Visible = false wait(3) p[i].Visible = true end
while true do p = script.Parent:GetChildren() for i = 1,#p do IsVisible() wait() end end
:o? |
|
|
| Report Abuse |
|
|
jasondee1
|
  |
| Joined: 26 Jul 2008 |
| Total Posts: 8002 |
|
| |
|
jasondee1
|
  |
| Joined: 26 Jul 2008 |
| Total Posts: 8002 |
|
| |
|
Voidion
|
  |
| Joined: 01 Aug 2011 |
| Total Posts: 2668 |
|
|
| 13 Jun 2013 03:52 PM |
| From your previous post with LifeIsUnfairReturns I'm now assuming this isn't the entire script. Can you post all of it? |
|
|
| Report Abuse |
|
|
jasondee1
|
  |
| Joined: 26 Jul 2008 |
| Total Posts: 8002 |
|
|
| 13 Jun 2013 04:00 PM |
It is the entire script that I wrote, Should I have put more?
|
|
|
| Report Abuse |
|
|
Voidion
|
  |
| Joined: 01 Aug 2011 |
| Total Posts: 2668 |
|
|
| 13 Jun 2013 04:02 PM |
"its when the player enters exclusively"
No. I just assumed from what you said, you had this with a PlayerAdded event. |
|
|
| Report Abuse |
|
|
jasondee1
|
  |
| Joined: 26 Jul 2008 |
| Total Posts: 8002 |
|
|
| 13 Jun 2013 04:06 PM |
| I have this in a screengui in the startergui |
|
|
| Report Abuse |
|
|
shawnyg
|
  |
| Joined: 21 Apr 2011 |
| Total Posts: 1428 |
|
|
| 13 Jun 2013 04:08 PM |
| Well, once the intro ends, I would put in intro script, intro.Disabled = true |
|
|
| Report Abuse |
|
|
jasondee1
|
  |
| Joined: 26 Jul 2008 |
| Total Posts: 8002 |
|
|
| 13 Jun 2013 04:17 PM |
| Doesn't help my problem...... |
|
|
| Report Abuse |
|
|
jasondee1
|
  |
| Joined: 26 Jul 2008 |
| Total Posts: 8002 |
|
| |
|
jasondee1
|
  |
| Joined: 26 Jul 2008 |
| Total Posts: 8002 |
|
| |
|
jasondee1
|
  |
| Joined: 26 Jul 2008 |
| Total Posts: 8002 |
|
| |
|
jasondee1
|
  |
| Joined: 26 Jul 2008 |
| Total Posts: 8002 |
|
| |
|
|
| 19 Jun 2013 05:28 PM |
Im just fixing what you gave, although I have no idea what your overall goal is:
function IsVisible(item) item.Visible = false wait(3) item.Visible = true end
while true do p = script.Parent:GetChildren() for i = 1,#p do IsVisible(p[i]) end end |
|
|
| Report Abuse |
|
|
jasondee1
|
  |
| Joined: 26 Jul 2008 |
| Total Posts: 8002 |
|
|
| 20 Jun 2013 03:33 AM |
Thanks so much!
I'll try this when i get the chance.
My goal is to delay the title gui from appearing so that it doesn't overlap the intro at the beginning |
|
|
| Report Abuse |
|
|