|
| 04 Sep 2016 12:22 PM |
What does script.Parent:WaitforChild("andre") do after it waits does it do basically script.Parent.andre
https://www.roblox.com/BC-R-1-item?id=422869492 https://www.roblox.com/BC-R-2-item?id=422869716 https://www.roblox.com/BC-R-3-item?id=422869880 |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2016 12:23 PM |
| it does the same thing except if it does not exist, it pauses :| |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 04 Sep 2016 12:23 PM |
http://wiki.roblox.com/index.php?title=API:Class/Instance/WaitForChild
Yields the current thread until a child with the given name is found, then returns the child.
|
|
|
| Report Abuse |
|
|
|
| 04 Sep 2016 12:25 PM |
Thanks guys I finally understand now!
https://www.roblox.com/BC-R-1-item?id=422869492 https://www.roblox.com/BC-R-2-item?id=422869716 https://www.roblox.com/BC-R-3-item?id=422869880 |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2016 12:25 PM |
so if I make it were Andre = script.Parent:WaitforChild("andre") I can do Andre.Value
https://www.roblox.com/BC-R-1-item?id=422869492 https://www.roblox.com/BC-R-2-item?id=422869716 https://www.roblox.com/BC-R-3-item?id=422869880 |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2016 12:26 PM |
obviously yes
it waits for the child
instead of indexing a child |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2016 12:28 PM |
Now it says WaitforChild is not a valid member of PlayerGui
https://www.roblox.com/BC-R-1-item?id=422869492 https://www.roblox.com/BC-R-2-item?id=422869716 https://www.roblox.com/BC-R-3-item?id=422869880 |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2016 12:28 PM |
.....
typo
:\
do you ever spell check anything |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2016 12:31 PM |
@thedaily thanks for helping me even though I was being dumb
https://www.roblox.com/BC-R-1-item?id=422869492 https://www.roblox.com/BC-R-2-item?id=422869716 https://www.roblox.com/BC-R-3-item?id=422869880 |
|
|
| Report Abuse |
|
|