Issues with teleportGUI between universes

  1. What do you want to achieve?
    I want my screen gui to be brought to the other experience I’m teleporting to and to play the animation and everything inside it.

  2. What is the issue?
    The UI isn’t showing up in the other experience. Even when using the Roblox provided scripts it doesn’t appear to work.

  3. What solutions have you tried so far?
    I’ve looked all over everywhere I could find but I haven’t found anything of use. So I turned to the forums for help.

The teleporting script (LocalScript)

tween2.Completed:Wait()
	task.wait(2.5)
	
	game["Teleport Service"]:SetTeleportGui(script.Parent.Parent.Parent.Parent.TeleportLoadingUI)
	game["Teleport Service"]:Teleport(15841837735)
	--game["Teleport Service"]:Teleport(15841837735,game.Players.LocalPlayer,nil,script.Parent.Parent.Parent.Parent.TeleportLoadingUI)
end)

The UI getting script (LocalScript in other experience)

local TeleportService = game:GetService("TeleportService")
local Players = game:GetService("Players")
local ReplicatedFirst = game:GetService("ReplicatedFirst")

local customLoadingScreen = TeleportService:GetArrivingTeleportGui()
if customLoadingScreen then
	local playerGui = Players.LocalPlayer:WaitForChild("PlayerGui")
	ReplicatedFirst:RemoveDefaultLoadingScreen()
	customLoadingScreen.Parent = playerGui
	task.wait(5)
	customLoadingScreen:Destroy()
end

When testing it the customLoadingScreen returns nil.


As you can see, it’s not working in studio.

Also if you are teleporting a player to other GAME, then it won’t work

I think manually importing those UIs can achieve the same results

Im not testing the teleport in studio Im testing it in game

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.