-- Decompiled with the Synapse X Luau decompiler.


local u1 = nil;
coroutine.wrap(function()
	u1 = require(game.ReplicatedStorage:WaitForChild("Resources"));
end)();
return function(p1, p2, p3, p4)
	p1 = p1 or 1;
	p2 = p2 or 1;
	p3 = p3 or Color3.new(1, 1, 1);
	p4 = p4 or 0;
	task.defer(function()
		local v1 = Instance.new("Frame");
		v1.BackgroundTransparency = 1;
		v1.BackgroundColor3 = p3;
		v1.Size = UDim2.new(2, 0, 2, 0);
		v1.AnchorPoint = Vector2.new(0.5, 0.5);
		v1.Position = UDim2.new(0.5, 0, 0.5, 0);
		v1.BorderSizePixel = 0;
		v1.Parent = u1.GFX.GetHolder();
		if p1 > 0 then
			u1.Functions.Tween(v1, { p1, 8, 1 }, {
				BackgroundTransparency = p4
			});
			task.wait(p1);
		else
			v1.BackgroundTransparency = p4;
		end;
		if p2 > 0 then
			u1.Functions.Tween(v1, { p2, 1, 1 }, {
				BackgroundTransparency = 1
			});
			task.wait(p2);
		else
			v1.BackgroundTransparency = 1;
		end;
		v1:Destroy();
	end);
end;
