-- Decompiled with the Synapse X Luau decompiler.


local l__Debris__1 = game:GetService("Debris");
local l__TweenService__1 = game:GetService("TweenService");
return function(p1, p2, p3, p4, p5)
	local v2 = l__TweenService__1:Create(p1, TweenInfo.new(unpack(p2)), p3);
	if not p4 then
		v2:Play();
	end;
	task.defer(function()
		if p5 then
			task.wait(p5);
		end;
		v2:Play();
	end);
	v2:Destroy();
	return v2;
end;
