|
| 06 Oct 2012 12:16 PM |
Now, I have never tried using GUI's until yesterday, and it is pretty easy. I have a quick question.
All of my GUIs that I made work fine, but then I guess I added one too many extra. It won't work, and I am confused to why it doesn't.
I've labeled the GUIs that work and the broken one.
Just tell me what I need to fix to make it work please!
http://www.roblox.com/Test-this-out-item?id=94397728 |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 06 Oct 2012 09:49 PM |
| What do you want us to do? |
|
|
| Report Abuse |
|
|
|
| 06 Oct 2012 10:12 PM |
| I'd like some info on why the GUI that I labeled "Broken" is not working when the others work perfectly fine. |
|
|
| Report Abuse |
|
|
tahu157
|
  |
| Joined: 16 Nov 2008 |
| Total Posts: 15045 |
|
|
| 07 Oct 2012 12:07 AM |
quite frankly I am stumped as well. I did some messing around with the TextButtons and had a little luck. When I removed the JetPack from the Button labeled broken and used it to replace the Sword in the Button labeled WORKS the button worked perfectly. that is about where my luck ended because i tried deleting the Button labeled Broken and replacing it with a copy of WORKS, the problem was still present. I have not had much experience with working with the FindFirstChild() method, but one thing i thought of was that the method may only be able to search through so many First Children of an object before it gives up.
Beyond that, I have no idea. |
|
|
| Report Abuse |
|
|
tahu157
|
  |
| Joined: 16 Nov 2008 |
| Total Posts: 15045 |
|
|
| 07 Oct 2012 12:22 AM |
I found the fix, and I sent you a message about it, but since you are somewhat famous it may take yo awhile to see that message so I will post my fix here as well.
You told you script to only look for TextButtons as Children under Main. You aslo have a TextLabel as a child of Main. When the script runs into this TextLabel it crashes.
The Fix: move the textlabel outside of Main or tell the script to exclude TextLables when looking for children of Main. |
|
|
| Report Abuse |
|
|
|
| 07 Oct 2012 09:11 AM |
@tah
Worked like a charm. Thanks a ton. |
|
|
| Report Abuse |
|
|