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

How to make a game with 1 serrver runnig only ?

Asked by 1 year ago

Hi, I ask a question, is it possible to lock a game to 1 server only. For example, I make a game, I put 30 players MAX. And I make another game to make a HUB to Teleport player to the main server.

When the player joins HUB, they can teleport to the main server. But if the main server is full, this will kick the player and block the creation of another server.

1 answer

Log in to vote
0
Answered by
Leamir 3138 Moderation Voter Community Moderator
1 year ago

Hello, DylanMonrency!

You can use TeleportService to handle server creation, and MessagingService to detect if any servers already exist, you would just need to have 2 places in the same universe.

Links to documentation:

Teleport Service | Roblox Creator Documentation

MessagingService | Roblox Creator Documentation


If this answers your question, don't forget to mark it as the Accepted answer

Ad

Answer this question