- Memory category
- Instances
- Own members
- 0
- Inherited members
- 97
- Subclasses
- 0
- Siblings
- 1
Properties28
Property categoryBehavior
- Determines if an
Instanceand its descendants can be cloned usingInstance:Clone(), and can be saved/published. - Deprecated: This deprecated property is a variant of
Instance.Archivablewhich should be used instead.Use Archivable instead.
Property categoryData
Property categoryPermissions
- The set of capabilities allowed to be used for scripts inside this container.
- Indicates whether the instance is inside a sandboxed container.
- When enabled, the instance can only access abilities in its
Capabilitieslist.
Property categoryBehavior
LocalizationTable.Contents: string = "[]" - Deprecated: This item is deprecated. Do not use it for new work.
The object that is being targeted for localization by this table. Localization is applied to it and all of it's descendants.Use RootLocalizationTable instead.
Property categoryLocalization
LocalizationTable.SourceLocaleId: string = "en-us" The locale of source strings.LocalizationTable.DevelopmentLanguage: string = "en-us" Deprecated: This item has been superseded byLocalizationTable.SourceLocaleIdwhich should be used in all new work.
The default IETF tag to use if the ''languageKey'' parameter is excluded from theLocalizationTable:GetString()method.Use SourceLocaleId instead.
No properties match the filters.
Methods59
Object:GetPropertyChangedSignal( property: string): RBXScriptSignal Get an event that fires when a given property of the object changes.Parameters Parameter Description property: stringThe property to connect to.Returns Type Description RBXScriptSignalA signal that fires whenever the property changes.- Returns true if an object's class matches or inherits from a given class.
Parameters Parameter Description className: stringThe class against which the Object's class will be checked. Case-sensitive.Returns Type Description booleanDescribes whether the Object's class matched or is a subclass of the given class. - Deprecated: This deprecated function is a variant of
Object:IsA()which should be used instead.Parameters Parameter className: stringReturns Type booleanUse IsA instead.
- Applies a tag to the instance.
Parameters Parameter Description tag: stringThe tag to apply to the instance. - This method destroys all of an instance's children.
- Create a copy of an instance and all its descendants, ignoring instances that are not
Archivable.Returns Type Description InstanceA copy of the instance, ornilif the instance is notArchivable. - Sets the
Instance.Parentproperty tonil, locks theInstance.Parentproperty, disconnects all connections, and callsDestroy()on all children. Instance:FindFirstAncestor( name: string): Instance Returns the first ancestor of theInstancewhoseInstance.Nameis equal to the given name.Parameters Parameter Description name: stringTheInstance.Nameto be looked for.Instance:FindFirstAncestorOfClass( className: string): Instance Returns the first ancestor of theInstancewhoseObject.ClassNameis equal to the given className.Parameters Parameter Description className: stringTheObject.ClassNameto be looked for.Instance:FindFirstAncestorWhichIsA( className: string): Instance Returns the first ancestor of theInstancefor whomObject:IsA()returns true for the given className.Parameters Parameter Description className: stringTheObject.ClassNameto be looked for.Instance:FindFirstChild( name: string, recursive: boolean? = false): Instance Returns the first child of theInstancefound with the given name.Parameters Parameter Description name: stringTheInstance.Nameto be searched for.recursive: boolean? = falseWhether or not the search should be conducted recursively.Instance:FindFirstChildOfClass( className: string): Instance Parameters Parameter Description className: stringTheObject.ClassNameto be looked for.Instance:FindFirstChildWhichIsA(className: string,recursive: boolean? = false,): Instance Returns the first child of theInstancefor whomObject:IsA()returns true for the given className.Parameters Parameter Description className: stringTheObject.ClassNameto be searched for.recursive: boolean? = falseWhether or not the search should be conducted recursively.Instance:FindFirstDescendant( name: string): Instance Returns the first descendant found with the givenInstance.Name.Parameters Parameter Description name: stringTheInstance.Nameto search for.- Returns the
Actorassociated with the Instance, if any. Instance:GetAttribute( attribute: string): any Returns the value which has been assigned to the given attribute name.Parameters Parameter Description attribute: stringThe name of the attribute being retrieved.Returns Type Description anyThe value which has been assigned to the given attribute name. If no attribute has been assigned,nilis returned.Instance:GetAttributeChangedSignal( attribute: string): RBXScriptSignal Returns an event that fires when the given attribute changes.Parameters Parameter Description attribute: stringThe name of the specified attribute for which the change signal is being returned.Returns Type Description RBXScriptSignalAn event that fires when the given attribute changes.- Returns a dictionary of the instance's attributes.
Returns Type Description { [string]: any }A dictionary of string → variant pairs for each attribute where the string is the name of the attribute and the variant is a non-nil value. - Returns an array containing all of the instance's children.
Returns Type Description { Instance }An array containing the instance's children. Instance:GetDebugId( scopeLength: number? = 4): string Returns a coded string of the debug ID used internally by Roblox.Parameters Parameter Description scopeLength: number? = 4The scope length.Returns Type Description stringThe Debug ID string.- Returns an array containing all of the descendants of the instance.
Returns Type Description { Instance }An array containing the instance's descendants. - Returns a string describing the instance's ancestry.
- Returns the styled or explicitly modified value of the specified property, or else the default property value if it hasn't been styled/modified.
Parameters Parameter Description name: stringName of the property to query.selector: string?Optional selector for the pseudo instance you are targeting on the instance.Returns Type Description anyThe styled or explicitly modified value of the specified property, or else the default property value if it hasn't been styled/modified. Instance:GetStyledPropertyChangedSignal( property: string): RBXScriptSignal Returns an event that fires when the given style property changes on the instance.Parameters Parameter Description property: stringName of the style property for which to listen for changes.Returns Type Description RBXScriptSignalEvent that fires when the given style property changes.- Gets an array of all tags applied to the instance.
Returns Type Description { any }An array of strings, each representing a tag applied to the instance. - Check whether the instance has a given tag.
Parameters Parameter Description tag: stringThe tag to check for on the instance.Returns Type Description booleantrueif the instance has the given tag,falseotherwise. Instance:IsAncestorOf( descendant: Instance): boolean Returns true if anInstanceis an ancestor of the given descendant.Instance:IsDescendantOf( ancestor: Instance): boolean Returnstrueif anInstanceis a descendant of the given ancestor.Instance:IsPropertyModified( property: string): boolean Returnstrueif the value stored in the specified property is not equal to the code-instantiated default.Parameters Parameter Description property: stringName of the property to query.Returns Type Description booleanBoolean indicating whether the property is modified from its code‑instantiated default.Instance:QueryDescendants( selector: string): { Instance } Returns an array containing all descendants of the instance that match theselectorstring.Parameters Parameter Description selector: stringSelector string used to filter elements.Returns Type Description { Instance }An array of instances (empty if nothing matched the selector).- Removes a tag from the instance.
Parameters Parameter Description tag: stringThe tag to remove from the instance. Instance:ResetPropertyToDefault( property: string) Resets a property to its default value.Parameters Parameter Description property: stringName of the property to reset.Instance:SetAttribute( attribute: string, value: any) Sets the attribute with the given name to the given value.Instance:WaitForChild( childName: string, timeOut: number): Instance Returns the child of theInstancewith the given name. If the child does not exist, it will yield the current thread until it does.Parameters Parameter Description childName: stringTheInstance.Nameto be looked for.timeOut: numberAn optional time out parameter.- Deprecated: This item is deprecated in favor of
Instance:Destroy()andInstance:ClearAllChildren(). If you must remove an object from the game, and wish to use the object later, set itsParentproperty tonilinstead of using this method.
Sets the object'sParenttonil, and does the same for all its descendants. - Deprecated: This item has been superseded by
Instance:GetChildren()which should be used in all new work.
Returns an array of the object's children.Returns Type Description { Instance }Array of child objects/instances.Use GetChildren instead.
- Deprecated: This deprecated function is a variant of
Instance:Clone()which should be used instead.Returns Type InstanceUse Clone instead.
- Deprecated: This deprecated function is a variant of
Instance:Destroy()which should be used instead.Use Destroy instead.
Instance:findFirstChild( name: string, recursive: boolean? = false): Instance Deprecated: This deprecated function is a variant ofInstance:FindFirstChild()which should be used instead.Returns Type InstanceUse FindFirstChild instead.
- Deprecated: This deprecated function is a variant of
Instance:GetChildren()which should be used instead.Returns Type { Instance }Use GetChildren instead.
Instance:isDescendantOf( ancestor: Instance): boolean Deprecated: This deprecated function is a variant ofInstance:IsDescendantOf()which should be used instead.Parameters Parameter ancestor: InstanceReturns Type booleanUse IsDescendantOf instead.
- Deprecated: This deprecated function is a variant of
Instance:Remove()which has also been deprecated. Neither function should be used in new work.Use Remove instead.
- Returns an array of dictionaries, where each dictionary represents an entry of localization data.
Returns Type Description { any }An array of dictionaries, where each dictionary represents an entry of localization data. LocalizationTable:GetTranslator( localeId: string): Instance Returns aTranslatorfor entries in this LocalizationTable, in the specified locale.Parameters Parameter Description localeId: stringA Roblox locale identifier (for example, "en-us" or "es-es") specifying the language the returned Translator should target.Returns Type Description InstanceTheTranslatorinstance for the specified locale.LocalizationTable:RemoveEntry( key: string, source: string, context: string) Removes an entry from the LocalizationTable, using the specifiedkey,source, andcontextto narrow down the specific entry to be removed.Parameters Parameter Description key: stringThe unique key of the entry to remove. If non-empty, identifies the entry by itself.source: stringThe source text of the entry. Used with context to identify the entry when key is empty.context: stringTheInstance:GetFullName()path used for disambiguation. Used with source to identify the entry when key is empty.LocalizationTable:RemoveEntryValue(key: string,source: string,context: string,localeId: string,) Removes a single language translation from the LocalizationTable, using the providedkey,source,context, andlocaleIdto narrow down the specific entry to be removed.Parameters Parameter Description key: stringThe unique key of the entry. If non-empty, identifies the entry by itself.source: stringThe source text of the entry. Used with context to identify the entry when key is empty.context: stringTheInstance:GetFullName()path used for disambiguation. Used with source to identify the entry when key is empty.localeId: stringThe locale identifier (for example, "fr-fr") whose translation should be removed from the entry.LocalizationTable:RemoveTargetLocale( localeId: string) Removes all translations from the LocalizationTable with the specified localeId.Parameters Parameter Description localeId: stringA Roblox locale identifier (for example, "fr-fr") specifying which language's translations to remove from all entries.LocalizationTable:SetEntries( entries: any) Sets the contents of the LocalizationTable.Parameters Parameter Description entries: anyAn array of dictionaries in the same format returned byLocalizationTable:GetEntries(), each containing Key, Source, Context, Example, and Values fields.LocalizationTable:SetEntryContext(key: string,source: string,context: string,newContext: string,) Sets the Context field of a LocalizationTable entry tonewContext, using the specifiedkey,source, andcontextto narrow down the entry that will have this change applied.Parameters Parameter Description key: stringThe unique key of the entry. If non-empty, identifies the entry by itself.source: stringThe source text of the entry. Used with context to identify the entry when key is empty.context: stringThe currentInstance:GetFullName()path of the entry. Used with source to identify the entry when key is empty.newContext: stringThe new context string to assign to the entry.LocalizationTable:SetEntryExample(key: string,source: string,context: string,example: string,) Sets the Example field of a LocalizationTable entry toexample, using the specifiedkey,source, andcontextto narrow down the entry that will have this change applied.Parameters Parameter Description key: stringThe unique key of the entry. If non-empty, identifies the entry by itself.source: stringThe source text of the entry. Used with context to identify the entry when key is empty.context: stringTheInstance:GetFullName()path of the entry. Used with source to identify the entry when key is empty.example: stringThe new example text to assign to the entry, typically a sample of parameterized content in context.LocalizationTable:SetEntryKey(key: string,source: string,context: string,newKey: string,) Sets the Key field of a LocalizationTable entry tonewKey, using the specifiedkey,source, andcontextto narrow down the entry that will have this change applied.Parameters Parameter Description key: stringThe current unique key of the entry. If non-empty, identifies the entry by itself.source: stringThe source text of the entry. Used with context to identify the entry when key is empty.context: stringTheInstance:GetFullName()path of the entry. Used with source to identify the entry when key is empty.newKey: stringThe new key string to assign to the entry. Must be unique within the table if non-empty.LocalizationTable:SetEntrySource(key: string,source: string,context: string,newSource: string,) Sets the Source field of a LocalizationTable entry tonewSource, using the specifiedkey,source, andcontextto narrow down the entry that will have this change applied.Parameters Parameter Description key: stringThe unique key of the entry. If non-empty, identifies the entry by itself.source: stringThe current source text of the entry. Used with context to identify the entry when key is empty.context: stringTheInstance:GetFullName()path of the entry. Used with source to identify the entry when key is empty.newSource: stringThe new source text to assign to the entry. Used by the automatic text replacement system for matching GUI text at runtime.LocalizationTable:SetEntryValue(key: string,source: string,context: string,localeId: string,text: string,) Sets the text of the specified localeId in a LocalizationTable entry, using the specifiedkey,source, andcontextto narrow down the entry that will have this change applied.Parameters Parameter Description key: stringThe unique key of the entry. If non-empty, identifies the entry by itself.source: stringThe source text of the entry. Used with context to identify the entry when key is empty.context: stringTheInstance:GetFullName()path of the entry. Used with source to identify the entry when key is empty.localeId: stringThe Roblox locale identifier (for example, "fr-fr") for the translation to set or remove.text: stringThe translation text to store. If empty, the translation for the specified locale is removed from the entry.Parameters Parameter value: boolean- Deprecated: This item has been superseded by
LocalizationTable:GetEntries()which should be used in all new work.
Returns the contents of theLocalizationTableserialized as a JSON string.Returns Type Description stringThe table's entries encoded as a JSON-formatted string.Use GetEntries instead.
LocalizationTable:GetString( targetLocaleId: string, key: string): string Deprecated: This item has been superseded byLocalizationTable:GetTranslator()which should be used in all new work.
Returns a translation based on the specified language and key.Parameters Parameter Description targetLocaleId: stringSpecified language.key: stringAn optional unique key for fast hash lookups in code. If it is non-empty it must be unique in the table.Returns Type Description stringTranslated string.Use GetTranslator instead.
LocalizationTable:RemoveKey( key: string) Deprecated: This item has been superseded byLocalizationTable:RemoveEntry()which should be used in all new work
Deprecated in favor ofLocalizationTable:RemoveEntry().Parameters Parameter Description key: stringThe unique key of the entry to remove.Use RemoveEntry instead.
LocalizationTable:SetContents( contents: string) Deprecated: This item has been superseded byLocalizationTable:SetEntries()which should be used in all new work
Sets the contents of the LocalizationTable, via the legacy JSON format.Parameters Parameter Description contents: stringA JSON-formatted string encoding the table's entries, in the same format returned byLocalizationTable:GetContents().Use SetEntries instead.
LocalizationTable:SetEntry( key: string, targetLocaleId: string, text: string) Deprecated: This item has been superseded byLocalizationTable:SetEntries()which should be used in all new work.
Sets the translationtextfor thetargetLocaleIdlocale on the entry identified bykey, creating the entry if it doesn't exist.Parameters Parameter Description key: stringThe unique key identifying the entry. If no entry with this key exists, a new entry is created.targetLocaleId: stringThe Roblox locale identifier (for example, "en-us" or "fr-fr") for the translation to set.text: stringThe translation text to store for the specified locale.Use SetEntryValue instead.
No methods match the filters.
Events10
Object.Changed: RBXScriptSignal<( property: string)> Fires immediately after a property of the object changes, with some limitations.Parameters Parameter property: string
Instance.AncestryChanged: RBXScriptSignal<( child: Instance, parent: Instance)> Fires when theInstance.Parentproperty of this object or one of its ancestors is changed.Instance.AttributeChanged: RBXScriptSignal<( attribute: string)> Fires whenever an attribute is changed on theInstance.Parameters Parameter attribute: stringInstance.ChildAdded: RBXScriptSignal<( child: Instance)> Fires after an object is parented to thisInstance.Parameters Parameter child: InstanceInstance.ChildRemoved: RBXScriptSignal<( child: Instance)> Fires after a child is removed from thisInstance.Parameters Parameter child: InstanceInstance.DescendantAdded: RBXScriptSignal<( descendant: Instance)> Fires after a descendant is added to theInstance.Parameters Parameter descendant: InstanceInstance.DescendantRemoving: RBXScriptSignal<( descendant: Instance)> Fires immediately before a descendant of theInstanceis removed.Parameters Parameter descendant: Instance- Fires immediately before (or is deferred until after) the instance is destroyed via
Instance:Destroy(). - Fires whenever any style property is changed on the instance, including when a property is set to
nil. Instance.childAdded: RBXScriptSignal<( child: Instance)> Deprecated: This deprecated event is a variant ofInstance.ChildAddedwhich should be used instead.Parameters Parameter child: InstanceUse ChildAdded instead.
No events match the filters.