EcIiptic
|
  |
| Joined: 12 Aug 2009 |
| Total Posts: 13737 |
|
|
| 08 Jul 2014 04:50 PM |
Is there a way to check if a single object is a descendant of another object?
Like:
Part = SomePartInWorkspace
if (Part:IsADescendantOf(game.Workspace)) then print("It's a descendant!") end
#Piano |
|
|
| Report Abuse |
|
EcIiptic
|
  |
| Joined: 12 Aug 2009 |
| Total Posts: 13737 |
|
|
| 08 Jul 2014 04:52 PM |
Oh gosh...
I just looked in the Object Browser real quick in hopes of finding it, and I did.
It looks like I guessed the exact syntax for my issue lol!
xD
#Piano |
|
|
| Report Abuse |
|