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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Impossible Error?

Previous Thread :: Next Thread 
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
06 Jul 2014 09:28 AM
Frame = script.Parent
print("B")
Options = Frame:WaitForChild("Options")
print("C")
MainColor = Options:WaitForChild("MainColor")
print("Waited")


http://prntscr.com/3zxvnl


Never prints Waited
Report Abuse
lateregistration is not online. lateregistration
Joined: 02 Apr 2013
Total Posts: 2630
06 Jul 2014 11:14 AM
u probably spelled maincolor wrong in some way, like accidentally added a space to the end of it in its properties
Report Abuse
Dicentium is not online. Dicentium
Joined: 28 Aug 2011
Total Posts: 18560
06 Jul 2014 11:17 AM
Nothing is impossible; there are ways that lead to everything, and if we had sufficient will we should always have sufficient means. It is often merely for an excuse that we say things are impossible.
Report Abuse
101airsoft is not online. 101airsoft
Joined: 11 Mar 2012
Total Posts: 145
06 Jul 2014 11:24 AM
Because 'MainColor' can never be found, so it was waiting forever. Just a tip that I have learned: When there seems to be an impossible error, make sure to read the code line-by-line, going through all of the possible reasons that you are not getting the output that you want.
Report Abuse
Oysi is not online. Oysi
Joined: 06 Jul 2009
Total Posts: 9058
06 Jul 2014 11:33 AM
Put a wait(1) at the beginning. WaitForChild literally breaks unless you do that. At least for me.
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
06 Jul 2014 11:36 AM
Script is inside Options.
Frame is options.
Check for MainColor inside Frame.
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
06 Jul 2014 11:37 AM
nvm
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
06 Jul 2014 02:41 PM
No space and looked through carefully.
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
07 Jul 2014 05:28 AM
How.
Report Abuse
RealLua is not online. RealLua
Joined: 19 Jul 2013
Total Posts: 50
07 Jul 2014 06:05 AM
was this resolved?
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
07 Jul 2014 06:19 AM
K it sees that its always nil.

FilteringEnabled is enabled.
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
07 Jul 2014 06:25 AM
It also says it has no children at all.
Report Abuse
Oysi is not online. Oysi
Joined: 06 Jul 2009
Total Posts: 9058
07 Jul 2014 06:53 AM
Did you try putting wait(1) at the beginning of the script?
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
07 Jul 2014 08:21 AM
Yes.
Report Abuse
jasondee1 is not online. jasondee1
Joined: 26 Jul 2008
Total Posts: 8002
07 Jul 2014 08:57 AM
try replacing "Options" with Frame:FindFirstChild("Options") and then adding WaitForChild below that. I would think the reason is because your assigning WaitForChild to a variable, and Lua doesnt know how to handle it when its called (I wouldn't even know HOW it would be called that way)
Report Abuse
jasondee1 is not online. jasondee1
Joined: 26 Jul 2008
Total Posts: 8002
07 Jul 2014 08:58 AM
Could be a filtering enabled problem. But follow my advice and see if that works
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
07 Jul 2014 09:18 AM
It says it doesn't have childs at all.
OH
NO
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
Ugh.
I found the problem.
I had another thing called Options.
Such Stupiid Me.
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
07 Jul 2014 09:21 AM
Sorry and thanks for your help everyone... :/
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
07 Jul 2014 10:02 AM
How is this still the #1 just replied post.
Report Abuse
Oysi is not online. Oysi
Joined: 06 Jul 2009
Total Posts: 9058
07 Jul 2014 10:07 AM
- __________________________________________________ -
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
07 Jul 2014 10:09 AM
Why is this not in SH, anyway?
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
07 Jul 2014 11:16 AM
Because I found this question hard, and couldn't figure it out.
SH likely doesn't know the master errors and fixes, which in this case it wasen't. :/
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
07 Jul 2014 11:20 AM
But this belongs in SH, not here...
Report Abuse
leilahcat is not online. leilahcat
Joined: 08 Feb 2014
Total Posts: 120
07 Jul 2014 11:27 AM
>- __________________________________________________ -

Oysi is whale confirmed.
Report Abuse
RealLua is not online. RealLua
Joined: 19 Jul 2013
Total Posts: 50
07 Jul 2014 03:35 PM
Make moving it from a local script into a normal will help?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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