Instance

Archivable

Determines whether or not an Instance can be saved when the game closes/attempts to save the game. Note: this only applies to games that use Data Persistence, or SavePlaceAsync.

ClassName

The string name of this Instance's most derived class.

DataCost

Name

Parent

The Instance that is directly above this Instance in the tree.

RobloxLocked

archivable

`archivable` is deprecated. Use `Archivable` instead.

className

`className` is deprecated. Use `ClassName` instead.

ClearAllChildren

Removes all children (but not this object) from the workspace.

Clone

Returns a copy of this Object and all its children. The copy's Parent is nil

Destroy

Removes object and all of its children from the workspace. Disconnects object and all children from open connections. Object and children may not be usable after calling Destroy.

FindFirstAncestor

Returns the first ancestor of this Instance that matches the first argument 'name'. The function will return nil if no Instance is found.

FindFirstAncestorOfClass

Returns the first ancestor of this Instance with a ClassName equal to 'className'. The function will return nil if no Instance is found.

FindFirstAncestorWhichIsA

Returns the first ancestor of this Instance that :IsA(className). The function will return nil if no Instance is found.

FindFirstChild

Returns the first child of this Instance that matches the first argument 'name'. The second argument 'recursive' is an optional boolean (defaults to false) that will force the call to traverse down thru all of this Instance's descendants until it finds an object with a name that matches the 'name' argument. The function will return nil if no Instance is found.

FindFirstChildOfClass

Returns the first child of this Instance that with a ClassName equal to 'className'. The function will return nil if no Instance is found.

FindFirstChildWhichIsA

Returns the first child of this Instance that :IsA(className). The second argument 'recursive' is an optional boolean (defaults to false) that will force the call to traverse down thru all of this Instance's descendants until it finds an object with a name that matches the 'className' argument. The function will return nil if no Instance is found.

GetChildren

Returns a read-only table of this Object's children

GetDebugId

This function is for internal testing. Don't use in production code

GetDescendants

Returns an array containing all of the descendants of the instance. Returns in preorder traversal, or in other words, where the parents come before their children, depth first.

GetFullName

Returns a string that shows the path from the root node (DataModel) to this Instance. This string does not include the root node (DataModel).

GetPropertyChangedSignal

IsA

Returns a boolean if this Instance is of type 'className' or a is a subclass of type 'className'. If 'className' is not a valid class type in ROBLOX, this function will always return false. <a href="http://wiki.roblox.com/index.php/IsA" target="_blank">More info</a>

IsAncestorOf

IsDescendantOf

Remove

Deprecated. Use ClearAllChildren() to get rid of all child objects, or Destroy() to invalidate this object and its descendants

WaitForChild

children

Use GetChildren() instead

clone

`clone` is deprecated. Use `Clone` instead.

destroy

`destroy` is deprecated. Use `Destroy` instead.

findFirstChild

`findFirstChild` is deprecated. Use `FindFirstChild` instead.

getChildren

`getChildren` is deprecated. Use `GetChildren` instead.

isA

`isA` is deprecated. Use `IsA` instead.

isDescendantOf

`isDescendantOf` is deprecated. Use `IsDescendantOf` instead.

remove

`remove` is deprecated. Use `Remove` instead.

AncestryChanged

Fired when any of this object's ancestors change. First argument 'child' is the object whose parent changed. Second argument 'parent' is the first argument's new parent.

Changed

Fired after a property changes value. The property argument is the name of the property

ChildAdded

ChildRemoved

DescendantAdded

Fired after an Instance is parented to this object, or any of this object's descendants. The 'descendant' argument is the Instance that is being added.

DescendantRemoving

Fired after an Instance is unparented from this object, or any of this object's descendants. The 'descendant' argument is the Instance that is being added.

childAdded

`childAdded` is deprecated. Use `ChildAdded` instead.