Skip to content
Roblox API Reference

TeleportOptions

Optional input arguments to the TeleportService:TeleportAsync() function.
Memory category
Instances
Own members
7
Inherited members
75
Subclasses
0
Siblings
608

Properties28

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Defined byTeleportOptions5

Property categoryData

  • TeleportOptions.ReservedServerAccessCode: string = ""
    The reserved server access code that indicates the reserved server that the teleport should be to.
    • Capabilities: Teleport
  • TeleportOptions.ReservedServerId: string = ""
    • Capabilities: Teleport
  • TeleportOptions.ServerInstanceId: string = ""
    The DataModel.JobId of the server instance to teleport to.
    • Capabilities: Teleport
  • TeleportOptions.ShouldReserveServer: boolean = false
    A flag to indicate if a reserved server should be allocated and the players should then be teleported to this allocation.
    • Capabilities: Teleport
  • TeleportOptions.VipServerId: string = ""
    • Capabilities: Teleport

Methods44

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39
Defined byTeleportOptions2
  • TeleportOptions:GetTeleportData(): any
    Returns the teleport data stored in the TeleportOptions instance by TeleportOptions:SetTeleportData().
    • Capabilities: Teleport
    Returns
    TypeDescription
    any
    The teleport data previously stored by TeleportOptions:SetTeleportData(), or nil if no data was set.
  • TeleportOptions:SetTeleportData(teleportData: any)
    Setter function for data to be passed to the destination place.
    • Capabilities: Teleport
    Parameters
    ParameterDescription
    teleportData: any
    Data to be passed to the destination place.

Events10

Inherited fromObject1
Inherited fromInstance9