Hello there!, I’m Steve,
-
What do you want to achieve? I want to make it so I can teleport players to a specific server using a server id (Games API server id) (example of a server id: d464ef2d-3685-41f3-8fc9-6e2b5136898e)
-
What is the issue? I do not know how to do so, Although I have tried using TeleportToPrivateServer, It says the player is teleporting while the player isn’t?
Here’s how my code looks like (cut out a bit of it)
local game_id = 0000000
local server = {id = "server-id-here"}
local players = {game.Players.MyPlayer}
pcall(function()
TS:TeleportToPrivateServer(game_id, server.id, players)
end)
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?: I have tried the solution above …/, Yes, but it was for only my game/experience/place/universe (reserved servers).
Any help would be appreciated,
(API website: https://games.roblox.com/docs#!/Games/get_v1_games_placeId_servers_serverType)