local I=nil;(coroutine.wrap(function()I=require(game.ReplicatedStorage:WaitForChild("\082\101\115\111\117\114\099\101\115"))end))()return function(q,H,B,A)q=q or 1 H=H or 1 B=B or Color3.new(1,1,1)A=A or 0 task.defer(function()local i=Instance.new("\070\114\097\109\101")i.BackgroundTransparency=1 i.BackgroundColor3=B i.Size=UDim2.new(2,0,2,0)i.AnchorPoint=Vector2.new(.5,.5)i.Position=UDim2.new(.5,0,.5,0)i.BorderSizePixel=0 i.Parent=I.GFX.GetHolder()if q>0 then I.Functions.Tween(i,{q,8,1},{BackgroundTransparency=A})task.wait(q)else i.BackgroundTransparency=A end if H>0 then I.Functions.Tween(i,{H;1;1},{BackgroundTransparency=1})task.wait(H)else i.BackgroundTransparency=1 end i:Destroy()end)end
-- 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
