Roblox UtilitiesDevlHub Roblox Documentation

Class

UniqueIdLookupService

NotCreatableService
Inherits
Instance › Object
Memory category
Instances

Team Create service that maps UniqueId to and from RFC-4122 strings; not for experience scripts.

Not intended for experience scripts. Used by Team Create and Studio collaboration to map between an Instance's UniqueId (a 128-bit identifier) and its canonical RFC-4122 string form, and to resolve the live instance from that string.

Methods 1#

GetOrCreateUniqueIdRemoteCommandReturns the RFC-4122 string form of the instance's UniqueId, creating one if the instance does not already have it.

GetOrCreateUniqueIdRemoteCommand(instance: Instance): string#

Returns the RFC-4122 string representation of the given Instance's UniqueId. If the instance does not yet have one, a UniqueId is generated for it (and for any descendants that lack one) before the string is returned.

NameTypeDefaultDescription
instanceInstanceThe instance whose UniqueId to read or create.
Returns
  • string — The instance's UniqueId as an RFC-4122 string.

Inherited members#

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed