-- Decompiled with the Synapse X Luau decompiler.


script.Parent.MouseButton1Click:Connect(function()
	local v1 = {};
	for v2, v3 in pairs(script.Parent.Parent.Parent.Parent.MainFrame.Inventory:GetChildren()) do
		if v3:IsA("Frame") and v3.MassDeleteIndicator.Visible == true then
			v1[#v1 + 1] = v3.PetID.Value;
		end;
	end;
	game.ReplicatedStorage.RemoteEvents.PetActionRequest:InvokeServer("Mass Delete", {
		Pets = v1
	});
	script.Parent.Parent.Parent.MassDelete.Value = false;
	script.Parent.Parent.Visible = false;
end);
