doneyes
|
  |
| Joined: 21 Mar 2008 |
| Total Posts: 3466 |
|
|
| 23 Sep 2014 01:22 PM |
| I want to check if a model has no children. Is there a specific command? |
|
|
| Report Abuse |
|
|
blockoo
|
  |
| Joined: 08 Nov 2007 |
| Total Posts: 17202 |
|
|
| 23 Sep 2014 01:28 PM |
if (#model:GetChildren() == 0) then print("No children") end |
|
|
| Report Abuse |
|
|
Vescatur
|
  |
| Joined: 18 Feb 2012 |
| Total Posts: 3426 |
|
|
| 23 Sep 2014 01:29 PM |
if #model:GetChildren() == 0 then print("The model has no children."); end; |
|
|
| Report Abuse |
|
|
Vescatur
|
  |
| Joined: 18 Feb 2012 |
| Total Posts: 3426 |
|
| |
|
doneyes
|
  |
| Joined: 21 Mar 2008 |
| Total Posts: 3466 |
|
|
| 23 Sep 2014 02:09 PM |
| Wow, that's obvious. Thanks lol |
|
|
| Report Abuse |
|
|