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: WTF IS GOING ON

Previous Thread :: Next Thread 
Nikilis is not online. Nikilis
Joined: 25 Dec 2008
Total Posts: 949
30 Jun 2013 12:38 PM
I made a localscript that links to a StringValue

stallname = script.Parent.Parent.Parent.Stall

And it says "Stall is not a valid member of ScreeGui"


BUT IT IS THERE. IT'S THERE. HELP.
Report Abuse
ToboboT is not online. ToboboT
Joined: 25 Jun 2011
Total Posts: 2385
30 Jun 2013 12:40 PM
This happened to me when I was trying to get a TextLabel of a billboard Gui that cloned into a players head.
Report Abuse
Nikilis is not online. Nikilis
Joined: 25 Dec 2008
Total Posts: 949
30 Jun 2013 12:41 PM
I'm doing something similar, I'm cloning a gui from lighting into PlayerGui.
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
30 Jun 2013 12:47 PM
wait(0.1) at the top of the script.
Report Abuse
Nikilis is not online. Nikilis
Joined: 25 Dec 2008
Total Posts: 949
30 Jun 2013 12:54 PM
I put repeat wait() until script.Parent.Parent.Parent:FindFirstChild("Stall")

and the script never runs.
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
30 Jun 2013 01:07 PM
Just put wait(0.1) at the top of the script.
Report Abuse
RoboTestGear is not online. RoboTestGear
Joined: 28 Dec 2009
Total Posts: 3063
30 Jun 2013 01:11 PM
LocalScripts load too fast or something it seems. put a wait(0.1) like Agent said, even tho you had a repeat loop waiting for it that doesn't mean the parent of the LocalScript actually exist.
Report Abuse
Nikilis is not online. Nikilis
Joined: 25 Dec 2008
Total Posts: 949
30 Jun 2013 01:11 PM
Stall is not a valid member of ScreenGui
Report Abuse
Nikilis is not online. Nikilis
Joined: 25 Dec 2008
Total Posts: 949
30 Jun 2013 01:11 PM
Aslo it's in a regular script now. Same thing is happening.
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
30 Jun 2013 01:13 PM
We can't offer any more help. We'll have to see a model or something.
Report Abuse
RoboTestGear is not online. RoboTestGear
Joined: 28 Dec 2009
Total Posts: 3063
30 Jun 2013 01:13 PM
Then Stall does not exist, I just tested your setup in play solo.
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