TeleportOptions

Show Deprecated

This class is an optional parameter to the TeleportService:TeleportAsync() function that allows developers to provide arguments for the teleport call.

Certain arguments in this class are not compatible with each other and cause an error when passed to TeleportService:TeleportAsync():

  • ReservedServerAccessCode + ServerInstanceId
  • ShouldReserveServer + ServerInstanceId
  • ShouldReserveServer + ReservedServerAccessCode

For more information on how to teleport players between servers, see Teleporting Between Places.

Summary

Properties

Methods

Properties

ReservedServerAccessCode

Read Parallel

ServerInstanceId

Read Parallel

ShouldReserveServer

Read Parallel

Methods

GetTeleportData

Variant

Returns

Variant

SetTeleportData

()

Parameters

teleportData: Variant

Returns

()

Events