|
| 25 Aug 2013 08:10 AM |
Hi, there's a glitch with one of my GUI's It's the "Main Menu" for my game. Basically, there are localscripts inside the buttons. These localscripts make a Frame visible (turns its transparency to 0.3). And then it makes another frame visible. (.Visible = true) One of the buttons makes the entire menu invisible (does not remove it) My problem is: When the player resets, and they respawn, and try pressing the buttons, they do nothing. Yes, the mouse is doing the clicking animation and so forth, but the buttons do nothing. The only button that works is the one that makes the GUI invisible. Any ideas?
Danivagyok, Head Developer of \\hEX__ |
|
|
| Report Abuse |
|
|
mrwar117
|
  |
| Joined: 16 Oct 2009 |
| Total Posts: 224 |
|
|
| 25 Aug 2013 08:50 AM |
| my only idea is using regular scripts instead of locals but then again i dont know what your buttons do, explain more |
|
|
| Report Abuse |
|
|
|
| 25 Aug 2013 08:52 AM |
Yes that happens with me
Try editing the ZIndex |
|
|
| Report Abuse |
|
|
|
| 25 Aug 2013 08:52 AM |
| Would you kindly post the script?? |
|
|
| Report Abuse |
|
|
|
| 25 Aug 2013 08:53 AM |
| Dragon it doesn't have anything to do with the script |
|
|
| Report Abuse |
|
|
|
| 25 Aug 2013 09:25 AM |
LocalScript inside the button that DOESNT WORK after resetting:
button = script.Parent box = script.Parent.Parent.Parent.box
function f() for i = 1, 0.3, -0.05 do wait() box.BackgroundTransparency = i end box.Credits.Visible = true box.Credits.LocalScript.Disabled = false script.Disabled = true end
button.MouseButton1Click:connect(f)
And here is the script from the button that DOES work after resetting:
button = script.Parent
function f() script.Parent.Parent.Visible = false script.Parent.Parent.Parent.box.Visible = false script.Parent.Parent.Parent.lineY.Visible = false script.Parent.Parent.Parent.logo.Visible = false end
button.MouseButton1Click:connect(f)
Danivagyok, Head Developer of \\hEX__ |
|
|
| Report Abuse |
|
|
|
| 25 Aug 2013 09:48 AM |
bump
Danivagyok, Head Developer of \\hEX__ |
|
|
| Report Abuse |
|
|
|
| 25 Aug 2013 03:18 PM |
bump. Really, please help me? I cant be the only one with this problem...
Danivagyok, Head Developer of \\hEX__ |
|
|
| Report Abuse |
|
|
|
| 26 Aug 2013 01:21 PM |
Why is noone helping me? Come ON!
Danivagyok, Head Developer of \\hEX__ |
|
|
| Report Abuse |
|
|
Mikesly
|
  |
| Joined: 07 Sep 2007 |
| Total Posts: 4593 |
|
|
| 26 Aug 2013 01:38 PM |
| box.BackgroundTransparency = 0.3 |
|
|
| Report Abuse |
|
|
| |
|
|
| 28 Aug 2013 11:03 AM |
BUMP. PLESAE, IS THERE A FIX FOR THIS?!
Danivagyok, Head Developer of \\hEX__ |
|
|
| Report Abuse |
|
|
Newtrat
|
  |
| Joined: 13 Jun 2011 |
| Total Posts: 196 |
|
|
| 28 Aug 2013 11:18 AM |
| No errors in the output or anything? It's a bit surprising that it works the first time, but not after you've reset. |
|
|
| Report Abuse |
|
|
|
| 03 Sep 2013 02:57 PM |
| I dont think so. I mean, i was testing in online mode, since the other key features of the game need online mode to run properly. |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2013 02:53 PM |
I have an idea for a fix :) I'll try it out, then I will tell you guys if it worked. |
|
|
| Report Abuse |
|
|