-- Decompiled with the Synapse X Luau decompiler.


local l__RunService__1 = game:GetService("RunService");
local l__Parent__2 = script.Parent;
local l__Background__3 = l__Parent__2.Background;
local l__LogoFrame__4 = l__Background__3.LogoFrame;
local l__TweenService__1 = game:GetService("TweenService");
function tween(p1, p2, p3)
	l__TweenService__1:Create(p1, TweenInfo.new(p2), p3):Play();
end;
local l__Logo__2 = l__LogoFrame__4.Logo;
function displayLoadingScreen()
	l__Parent__2.Enabled = true;
	l__Background__3.BackgroundTransparency = 0;
	tween(l__Background__3.CircleLeft.UIStroke, 3, {
		Transparency = 0
	});
	tween(l__Background__3.CircleRight.UIStroke, 3, {
		Transparency = 0
	});
	task.wait(3);
	local v5, v6, v7 = pairs(l__Logo__2:GetChildren());
	while true do
		local v8, v9 = v5(v6, v7);
		if v8 then

		else
			break;
		end;
		v7 = v8;
		if v9.ClassName == "Frame" then
			v9.UIPageLayout.TweenTime = 0.75;
			v9.UIPageLayout:JumpTo(v9.ImageLabel);
			tween(v9.ImageLabel, 1, {
				ImageTransparency = 0
			});
			task.wait();
		end;	
	end;
	tween(l__LogoFrame__4.LoadingText, 1, {
		TextTransparency = 0
	});
	task.wait(2);
	if not game:IsLoaded() then
		game.Loaded:Wait();
	end;
	local v10, v11, v12 = pairs(l__Logo__2:GetChildren());
	while true do
		local v13, v14 = v10(v11, v12);
		if v13 then

		else
			break;
		end;
		v12 = v13;
		if v14.ClassName == "Frame" then
			v14.UIPageLayout.TweenTime = 2;
			v14.UIPageLayout:JumpTo(v14.Frame);
			tween(v14.ImageLabel, 0.15, {
				ImageTransparency = 1
			});
			task.wait();
		end;	
	end;
	tween(l__LogoFrame__4.LoadingText, 1, {
		TextTransparency = 1
	});
	tween(l__Background__3.CircleLeft.UIStroke, 1, {
		Transparency = 1
	});
	tween(l__Background__3.CircleRight.UIStroke, 1, {
		Transparency = 1
	});
	tween(l__Background__3, 3, {
		BackgroundTransparency = 1
	});
	task.wait(3);
	l__Parent__2.Enabled = false;
end;
game:GetService("ReplicatedFirst"):RemoveDefaultLoadingScreen();
if not l__RunService__1:IsStudio() then
	displayLoadingScreen();
end;
