FANDOM


A class is said to be instantiated when a concrete occurrence of the class—that is, an instance or object—is created by calling its constructor. Instances on ROBLOX are created with the Instance.new function, which takes as arguments the name of the class to create an object of and the initial parent of the object.

For example, this code will create a ExplorerImageIndex 1Part and add it to the ExplorerImageIndex 19Workspace:

local part = Instance.new('Part', workspace)

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.