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?

6 comments

0

Did I or did I not say the wiki didn't do much good for me

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.

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..

0

ok then post the script, any errors from the output and what you think went wrong.

0

also post the script that contains the LocalPlayerArrivedFromTeleport event from the other server.