generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: GUI Help pl0x

Previous Thread :: Next Thread 
Bobbysayhi is not online. Bobbysayhi
Joined: 10 Jul 2008
Total Posts: 16130
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
Bobbysayhi is not online. Bobbysayhi
Joined: 10 Jul 2008
Total Posts: 16130
06 Oct 2012 12:59 PM
bump
Report Abuse
Bobbysayhi is not online. Bobbysayhi
Joined: 10 Jul 2008
Total Posts: 16130
06 Oct 2012 09:44 PM
nothing?
Report Abuse
blackboy167thst is not online. blackboy167thst
Joined: 22 Jul 2011
Total Posts: 2468
06 Oct 2012 09:49 PM
What do you want us to do?
Report Abuse
Bobbysayhi is not online. Bobbysayhi
Joined: 10 Jul 2008
Total Posts: 16130
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 is not online. 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 is not online. 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
Bobbysayhi is not online. Bobbysayhi
Joined: 10 Jul 2008
Total Posts: 16130
07 Oct 2012 09:11 AM
@tah

Worked like a charm. Thanks a ton.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image