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

TeleportService is making separate servers for players?

Asked by
soutpansa 120
6 years ago

For some reason, this script doesn't fill up my servers. Max server size is 18, and Preferred Player Count is 15.

Any idea what's wrong? Sometimes it let's like 3 people join the same server, other times it makes completely different ones for everyone.


local TeleportService = game:GetService("TeleportService") local level1Id = 966545804 local level2Id = 857960791 local Button = script.Parent function onClick() local player = game.Players.LocalPlayer if player then local frame = script.Parent.Parent.Parent.Loading frame:TweenPosition(UDim2.new(0.5, 0,0.5, 0), "Out", "Bounce", 1) frame.LocalScript.Disabled = false script.Parent.Parent.Visible = false wait(3) TeleportService:Teleport(level2Id, player) end end Button.MouseButton1Click:connect(onClick)

Thanks for reading

0
Example of what is happening: https://gyazo.com/a5cb6ec7acc2dcd5e01746ad001b5d54 soutpansa 120 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago
Edited 6 years ago

you can setting the player in

Develop>Places or which server>Configure place>Accses

set the Preferred Player Count to whatever you want, so if the player reach the number, new server will created and the Maximum Player Count is the Maximum Player

0
Why cant I downvote without 100 rep.. *sigh* if youd read the question, its set to 15, but making a new server at 3. Thanks for the "help" anyways. Im sure that you had good intentions soutpansa 120 — 6y
Ad

Answer this question