Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by
Prioxis 673 Moderation Voter
8 years ago

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

Log in to vote
1
Answered by 8 years ago

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

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? Prioxis 673 — 8y
0
Use TeleportToPrivateServer, and use the variable to get the players, and that can see what players are in the server thehybrid576 294 — 8y
0
Thanks! Prioxis 673 — 8y
Ad

Answer this question