Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make a way of selecting servers like in Conquerors 3 and Apocalypse Rising?

So for my game I'm making an easier way of joining servers with friends and VIP servers using the system that apocalypse rising uses but I don't know how that works if someone could explain me how it works I'd be thankful.. Sorry I have no script or anything of me trying..

Edit

heres the general idea

local TeleportService = game:GetService("TeleportService")
local level1Id = 388772448
local level2Id = 427143548
local textBox = script.Parent.Parent.TextBox
local player = game.Players.LocalPlayer 

script.Parent.MouseButton1Down:connect(function()
	if textBox.Text == "" then
        TeleportService:Teleport(level1Id, player)
	else
	-- teleport player to friends server
	end
end)

1 answer

✓ Accepted answer

http://wiki.roblox.com/index.php?title=API:Class/TeleportService

There is the wiki, you can read over some of the functions, they will probably help you by collecting information on all servers crated through those functions, and you can list them

3 comments

0

Using the teleport service though how do I figure out if a certain player is in a certain server and if so then join that specific server?

0

Use TeleportToPrivateServer, and use the variable to get the players, and that can see what players are in the server

0

Thanks!

This discussion is preserved as it was. New answers, comments, and votes are closed.