IsAncestorOf (Method)

From Legacy Roblox Wiki
Revision as of 15:42, 10 July 2011 by >SoulStealer9875 (Adding clear floats template :))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
IsAncestorOf( Instance descendant )
Returns boolean is ancestor
Description: Returns true if the object is an ancestor of descendant.
Member of: Instance



Example
print(game.Workspace:IsAncestorOf(game.Workspace.Player.Torso)) --> true