I am creating a game which has a lobby server and then a map that the user can teleport to when they have created their character etc... I was wondering if it was possible to list all the available server and amount of players (like in 'The Plaza'). Here is my code so far:
local TP = game.Workspace.TeleportPlayer newPlace = game:GetService("AssetService"):CreatePlaceAsync("City", 348764007) function TP.OnServerInvoke(player) print(player.Name) game:GetService("TeleportService"):Teleport(newPlace, player) return "Complete" end
http://wiki.roblox.com/index.php?title=API:Class/AssetService/GetGamePlacesAsync
I tried using this because it sounds like what I'm trying to do but I have never used pages before so don't know what to do.