local A=nil;(coroutine.wrap(function()A=require(game.ReplicatedStorage:WaitForChild("\082\101\115\111\117\114\099\101\115"))end))()return function(J,X,o,l)J=J or 1 X=X or 1 o=o or Color3.new(1,1,1)l=l or 0 task.defer(function()local P=Instance.new("\070\114\097\109\101")P.BackgroundTransparency=1 P.BackgroundColor3=o P.Size=UDim2.new(2,0,2,0)P.AnchorPoint=Vector2.new(.5,.5)P.Position=UDim2.new(.5,0,.5,0)P.BorderSizePixel=0 P.Parent=A.GFX.GetHolder()if J>0 then A.Functions.Tween(P,{J;8;1},{BackgroundTransparency=l})task.wait(J)else P.BackgroundTransparency=l end if X>0 then A.Functions.Tween(P,{X;1,1},{BackgroundTransparency=1})task.wait(X)else P.BackgroundTransparency=1 end P:Destroy()end)end


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;
