--[[

	LOWGames Studios
	Date: 27 October 2022
	by Elder
	
]]
--

local u1 = nil;
coroutine.wrap(function()
	u1 = require(game.ReplicatedStorage:WaitForChild("Framework"):WaitForChild("Library"));
end)();
function CompareTable(p1, p2, p3)
	local v1 = type(p1);
	local v2 = type(p2);
	if v1 ~= v2 then
		return false;
	end;
	if v1 ~= "table" then
		if v2 ~= "table" then
			return p1 == p2;
		end;
	end;
	local v3 = getmetatable(p1);
	if not p3 then
		if v3 then
			if v3.__eq then
				return p1 == p2;
			end;
		end;
	end;
	local v4, v5, v6 = pairs(p1);
	for v7, v8 in pairs(p1) do
		local v9 = p2[v7];
		if v9 ~= nil then

		else
			return false;
		end;
		if not CompareTable(v8, v9) then
			return false;
		end;
	end
	for v13, v14 in pairs(p2) do 
		local v15 = p1[v13];
		if v15 ~= nil then

		else
			return false;
		end;
		if not CompareTable(v15, v14) then
			return false;
		end;
	end
	return true;
end;
return CompareTable;
