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

How would I make a Custom Loading Screen for this?

Asked by 5 years ago
Edited 5 years ago

Does anyone know how I'd make a custom loading screen for a script using ReserveServer? I read the wiki page and tried it but it still didn't work, here's the script I am using:

while true do
print("success")
wait()
repeat
wait()
until game.Players.NumPlayers >= 5

wait(25)
local TeleportService = game:GetService("TeleportService")
local destinationPlaceId = 2163624217

local reservationCode = TeleportService:ReserveServer(destinationPlaceId)

local players = game:GetService("Players"):GetPlayers()
wait(5)
TeleportService:TeleportToPrivateServer(destinationPlaceId, reservationCode, players, game.ReplicatedStorage.LoadingGui)
end

There is probably something wrong with this, could anyone help me fix it?

0
Did I or did I not say the wiki didn't do much good for me TrixitesWasTaken 13 — 5y
0
have you even tried it? we won't make the whole script for you, so go and try doing it yourself and come back if you run into problems. radusavin366 617 — 5y
0
Don't get me wrong but when I say it didn't do much good for me I mean I tried it and it didn't help me out, that's why I came here.. TrixitesWasTaken 13 — 5y
View all comments (2 more)
0
ok then post the script, any errors from the output and what you think went wrong. radusavin366 617 — 5y
0
also post the script that contains the LocalPlayerArrivedFromTeleport event from the other server. radusavin366 617 — 5y

Answer this question