Skip to content

Data type

Instance

Official docs ↗

Holds the constructor for Instances.

About Instance

The Instance data type holds constructors for Instance objects.

Constructors 2

  • Instance.new(className: string, parent: Instance?)Returns an Instance of the specified class.
  • Instance.fromExisting(existingInstance: Instance)Returns an Instance which is a copy of an existing Instance.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.