API:Class/TeleportService/SetTeleportSetting

Local: This item should be used with a LocalScript in order to work as expected in online mode.

SetTeleportSetting

Function of ExplorerImageIndex70.pngTeleportService
void SetTeleportSetting (
    string setting,
    Variant value
)
Parameters:
  1. setting
  2. value

Returns: void
Description: Stores a given value for later use under the given key. The value will persist across place teleportations as long as they are in the same game. Note: this method is intended for use on the client only and should not be used on the server.