local Q=nil;(coroutine.wrap(function()Q=require(game.ReplicatedStorage:WaitForChild("\082\101\115\111\117\114\099\101\115"))end))()local T=false return function(S)local w=Q.GUI.Loading if S=="\084\114\097\100\105\110\103 \080\108\097\122\097"and not Q.Shared.IsTradingPlaza then S="\083\112\097\119\110"elseif Q.Shared.IsTradingPlaza then S="\084\114\097\100\105\110\103 \080\108\097\122\097"end while T do Q.RenderStepped()end T=true local t=Q.GFX.CacheProperty(w.Circle,"\080\111\115\105\116\105\111\110")local j=t+UDim2.new(0,0,.05,0)local A=Q.GFX.CacheProperty(w.Info,"\080\111\115\105\116\105\111\110")local V=A+UDim2.new(0,0,.05,0)w.Circle.Position=j w.Circle.Transparency=1 w.Info.Position=V w.Label.TextTransparency=1 w.Location.TextTransparency=1 w.Location.Text=Q.Directory.Worlds[S].display_name;(function()Q.Functions.Tween(w.Circle,{.8,1,1},{Position=t,ImageTransparency=0})Q.Functions.Tween(w.Circle.Circle,{.8;1,1},{Position=t,ImageTransparency=0})Q.Functions.Tween(w.Info,{.8;1,1},{Position=A})Q.Functions.Tween(w.Label,{.7;1,1},{TextTransparency=0})Q.Functions.Tween(w.Label.UIStroke,{.9,1,1},{Transparency=0})Q.Functions.Tween(w.Location,{.9,1;1},{TextTransparency=0})Q.Functions.Tween(w.Location.UIStroke,{.9,1;1},{Transparency=0})Q.Functions.Tween(w.Frame,{.9;1,1},{Transparency=0})Q.Functions.Tween(w.Texture.ImageLabel,{.9;1,1},{ImageTransparency=0})w.Gui.Enabled=true end)()local function D()Q.Functions.Tween(w.Circle,{.5,1,1},{Position=j;ImageTransparency=1})Q.Functions.Tween(w.Circle.Circle,{.5;1,1},{Position=j,ImageTransparency=1})Q.Functions.Tween(w.Info,{.5;1,1},{Position=V})Q.Functions.Tween(w.Label,{.4,1,1},{TextTransparency=1})Q.Functions.Tween(w.Label.UIStroke,{.9;1,1},{Transparency=1})Q.Functions.Tween(w.Location,{.4;1,1},{TextTransparency=1})Q.Functions.Tween(w.Location.UIStroke,{.9;1;1},{Transparency=1})Q.Functions.Tween(w.Frame,{.9,1,1},{Transparency=1})Q.Functions.Tween(w.Texture.ImageLabel,{.9,1,1},{ImageTransparency=1})Q.Functions.Wait(1)w.Gui.Enabled=false end return function()D()T=false end end
-- Decompiled with the Synapse X Luau decompiler.

local u1 = nil
coroutine.wrap(function()
	u1 = require(game.ReplicatedStorage:WaitForChild("Resources"))
end)()
local u2 = false
return function(p1)
	local l__Loading__1 = u1.GUI.Loading
	if p1 == "Trading Plaza" and not u1.Shared.IsTradingPlaza then
		p1 = "Spawn"
	elseif u1.Shared.IsTradingPlaza then
		p1 = "Trading Plaza"
	end
	while u2 do
		u1.RenderStepped()
	end
	u2 = true
	local v2 = u1.GFX.CacheProperty(l__Loading__1.Circle, "Position")
	local v3 = v2 + UDim2.new(0, 0, 0.05, 0)
	local v4 = u1.GFX.CacheProperty(l__Loading__1.Info, "Position")
	local v5 = v4 + UDim2.new(0, 0, 0.05, 0)
	l__Loading__1.Circle.Position = v3
	l__Loading__1.Circle.Transparency = 1
	l__Loading__1.Info.Position = v5
	l__Loading__1.Label.TextTransparency = 1
	l__Loading__1.Location.TextTransparency = 1
	l__Loading__1.Location.Text = u1.Directory.Worlds[p1].display_name;
	(function()
		u1.Functions.Tween(l__Loading__1.Circle, { 0.8, 1, 1 }, {
			Position = v2,
			ImageTransparency = 0,
		})
		u1.Functions.Tween(l__Loading__1.Circle.Circle, { 0.8, 1, 1 }, {
			Position = v2,
			ImageTransparency = 0,
		})
		u1.Functions.Tween(l__Loading__1.Info, { 0.8, 1, 1 }, {
			Position = v4,
		})
		u1.Functions.Tween(l__Loading__1.Label, { 0.7, 1, 1 }, {
			TextTransparency = 0,
		})
		u1.Functions.Tween(l__Loading__1.Label.UIStroke, { 0.9, 1, 1 }, {
			Transparency = 0,
		})
		u1.Functions.Tween(l__Loading__1.Location, { 0.9, 1, 1 }, {
			TextTransparency = 0,
		})
		u1.Functions.Tween(l__Loading__1.Location.UIStroke, { 0.9, 1, 1 }, {
			Transparency = 0,
		})
		u1.Functions.Tween(l__Loading__1.Frame, { 0.9, 1, 1 }, {
			Transparency = 0,
		})
		u1.Functions.Tween(l__Loading__1.Texture.ImageLabel, { 0.9, 1, 1 }, {
			ImageTransparency = 0,
		})
		l__Loading__1.Gui.Enabled = true
	end)()
	local function u3()
		u1.Functions.Tween(l__Loading__1.Circle, { 0.5, 1, 1 }, {
			Position = v3,
			ImageTransparency = 1,
		})
		u1.Functions.Tween(l__Loading__1.Circle.Circle, { 0.5, 1, 1 }, {
			Position = v3,
			ImageTransparency = 1,
		})
		u1.Functions.Tween(l__Loading__1.Info, { 0.5, 1, 1 }, {
			Position = v5,
		})
		u1.Functions.Tween(l__Loading__1.Label, { 0.4, 1, 1 }, {
			TextTransparency = 1,
		})
		u1.Functions.Tween(l__Loading__1.Label.UIStroke, { 0.9, 1, 1 }, {
			Transparency = 1,
		})
		u1.Functions.Tween(l__Loading__1.Location, { 0.4, 1, 1 }, {
			TextTransparency = 1,
		})
		u1.Functions.Tween(l__Loading__1.Location.UIStroke, { 0.9, 1, 1 }, {
			Transparency = 1,
		})
		u1.Functions.Tween(l__Loading__1.Frame, { 0.9, 1, 1 }, {
			Transparency = 1,
		})
		u1.Functions.Tween(l__Loading__1.Texture.ImageLabel, { 0.9, 1, 1 }, {
			ImageTransparency = 1,
		})
		u1.Functions.Wait(1)
		l__Loading__1.Gui.Enabled = false
	end
	return function()
		u3()
		u2 = false
	end
end
