|
| 15 Jul 2012 06:02 PM |
I have a gui in my game that's supposed to appear every 10 seconds. Once I go onto play solo it appears after 10 seconds but doesn't go away. Why? Also I have a value in workspace and a script that changes the value from 1 to 0 every 10 seconds and that works.
local q = 1 while q < 10 do if game.Workspace.Value.Value == 1 then script.Parent.Visible = true script.Parent.Yes.Active = true script.Parent.No.Active = true if game.Workspace.Value.Value == 0 then script.Parent.Visible = false script.Parent.Yes.Active = false script.Parent.No.Active = false end end end |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2012 06:23 PM |
while true do script.Parent.Visible = true script.Parent.Yes.Active = true script.Parent.No.Active = true wait(10) end
Make a button change the visibility to false. |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2012 06:33 PM |
I don't see the wait that makes it wait 10 seconds to be seen. Do you mean a loop similar to:
-10 Seconds- I SEE I -3 Seconds- It's gone D: -10 Seconds- I see it! -3 Seconds- It's gone D:
Because then it would be:
while wait(10) do DAGUI.Visible = true wait(3) DAGUI.Visible = false end
If not, please clarify. |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2012 06:34 PM |
| I guses I'll explain more. The gui is for a tournament mode on my game and doing it drak's way would make the tournament gui appear at different times on everyones screens. |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2012 06:35 PM |
| so the value thingy in my script has to be there |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2012 06:38 PM |
| If you get any legitimate information, you could repost it to this thread or another. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|