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
https://www.robloxdev.com/articles/Custom-Loading-Screens#how-to-use-a-custom-loading-screen-with-teleportservice
Did I or did I not say the wiki didn't do much good for me
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.
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..
ok then post the script, any errors from the output and what you think went wrong.
also post the script that contains the LocalPlayerArrivedFromTeleport event from the other server.