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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 30 Jun 2013 12:47 PM |
| wait(0.1) at the top of the script. |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 30 Jun 2013 01:07 PM |
| Just put wait(0.1) at the top of the script. |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| Joined: 25 Dec 2008 |
| Total Posts: 949 |
|
|
| 30 Jun 2013 01:11 PM |
| Stall is not a valid member of ScreenGui |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 30 Jun 2013 01:13 PM |
| We can't offer any more help. We'll have to see a model or something. |
|
|
| Report Abuse |
|
|
|
| 30 Jun 2013 01:13 PM |
| Then Stall does not exist, I just tested your setup in play solo. |
|
|
| Report Abuse |
|
|