Name (Property)
From Legacy Roblox Wiki
Name | |
Type | string |
Description | The name of the object, which is often used to identify it in the context of its parent. Note that names are NOT unique identifiers; multiple children of an object may share the same name. Also appears in the explorer. |
Member of | Instance |
Example
This code would create a new part and change its name to "Brick".
Instance.new('Part', Workspace).Name = "Brick"