# TeleportService(ロブロックス クラス) > Enables transporting Class.Player|Players between places and servers. For more information on how to teleport players between servers, see Teleport between places. - URL:https://roblox.minecraft-okinawa.com/reference/classes/TeleportService/ - 公式:https://create.roblox.com/docs/reference/engine/classes/TeleportService - 受け継いでいるクラス:Instance ## メソッド - `TeleportService:GetArrivingTeleportGui(): Instance`:Returns the _customLoadingScreen_ the Class.Players.LocalPlayer|LocalPlayer arrived into the place with. - `TeleportService:GetLocalPlayerTeleportData(): Variant`:Returns the _teleportData_ the Players.LocalPlayer arrived into the place with. - `TeleportService:GetPlayerPlaceInstanceAsync(userId: User): Tuple`:Returns the Class.DataModel.PlaceId|PlaceId and Class.DataModel.JobId|JobId of the server the user with the given Class.Player.UserId|UserId is in provided it is in the same game as the current place. - `TeleportService:GetTeleportSetting(setting: string): Variant`:Retrieves a teleport setting saved using Class.TeleportService:SetTeleportSetting() using the given key. - `TeleportService:PromptExperienceDetailsAsync(player: Player, universeId: int64): PromptExperienceDetailsResult`:Prompts a Player with information about the specified experience. The player can choose to teleport to the target experience through the prompt. - `TeleportService:SetTeleportGui(gui: Instance): ()`:Sets the custom Class.ScreenGui|teleport GUI that will be shown to the local user during teleportation, prior to the teleport being invoked. - `TeleportService:SetTeleportSetting(setting: string, value: Variant): ()`:Stores a value under a given key that persists across all teleportations in the same game. - `TeleportService:TeleportAsync(placeId: int64, players: Instances, teleportOptions: Instance): Instance`:The all-encompassing method to teleport a player or group of players from one server to another. ## イベント - `TeleportService.LocalPlayerArrivedFromTeleport(loadingGui: Instance, dataTable: Variant)`:Fires when the Class.Players.LocalPlayer|LocalPlayer enters the place following a teleport. - `TeleportService.TeleportInitFailed(player: Instance, teleportResult: TeleportResult, errorMessage: string, placeId: int64, teleportOptions: Instance)`:Fires when a teleport fails to start, leaving the player in their current server. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)