s_nowfall
|
  |
| Joined: 19 Aug 2015 |
| Total Posts: 12855 |
|
|
| 24 Jun 2017 02:49 PM |
this is the func
function waitForDialogChildrenMyLord(beter, name) while not beter:FindFirstChild(name) do beter.ChildAdded:wait() end end |
|
|
| Report Abuse |
|
|
kojocrash
|
  |
| Joined: 07 Sep 2013 |
| Total Posts: 277 |
|
|
| 24 Jun 2017 02:52 PM |
| where is the variable calling it, and what is beter |
|
|
| Report Abuse |
|
|
|
| 24 Jun 2017 02:52 PM |
| what are beter and name in this function |
|
|
| Report Abuse |
|
|
|
| 24 Jun 2017 03:10 PM |
| beter is your passed argument and your error states that nothing is actually being passed/exists. So you'd want to look back at where you call this function and make sure beter is being properly defined |
|
|
| Report Abuse |
|
|
s_nowfall
|
  |
| Joined: 19 Aug 2015 |
| Total Posts: 12855 |
|
|
| 24 Jun 2017 03:17 PM |
| I put "local beter". What should I add to it? |
|
|
| Report Abuse |
|
|
|
| 24 Jun 2017 03:18 PM |
| Well what is beter? You need to define that for the function, not just local beter |
|
|
| Report Abuse |
|
|
s_nowfall
|
  |
| Joined: 19 Aug 2015 |
| Total Posts: 12855 |
|
|
| 24 Jun 2017 03:26 PM |
| How would I do that? Sorry for the stupid question, I'm a newb at lua |
|
|
| Report Abuse |
|
|
|
| 24 Jun 2017 03:35 PM |
What is beter defining or referring to? If it's a model you have to let Lua know that
local beter = workspace.someModel
You have to give a reference to its location |
|
|
| Report Abuse |
|
|
s_nowfall
|
  |
| Joined: 19 Aug 2015 |
| Total Posts: 12855 |
|
| |
|