function module.ShowSpecificPage(V,H,J)for V,i in pairs(pages:GetChildren())do if i.Name==H then if currentPage==i then i.Visible=true else tweenPages(UDim2.new(-1,0,0,0),i,true)end local V=subPageOrders[i.Name]if V then local P local F for H,V in pairs(V)do local q=i[V]if q.Name==J then F=H elseif q.Position.X.Scale==0 then P=H end end if P==nil then for H=1,#V,1 do if H~=F then P=H end end end if H=="\065\100\109\105\110"and currentPage.Name=="\065\100\109\105\110"then spawn(function()(main:GetModule("\080\097\103\101\065\100\109\105\110")):UpdatePages()end)end module:OpenMainFrame()if i:FindFirstChild("\078\097\118\105\103\097\116\101\066\117\116\116\111\110\115")then navigateNewPage(i,P,F,"\076\101\102\116",true)end end else i.Visible=false end end end module:ShowSpecificPage("\072\111\109\101")

function module:ShowSpecificPage(pageName, subPageName)
	for a,b in pairs(pages:GetChildren()) do
		if b.Name == pageName then
			if currentPage == b then
				b.Visible = true
			else
				tweenPages(UDim2.new(-1,0,0,0), b, true)
			end
			local subPages = subPageOrders[b.Name]
			if subPages then
				local oldPos
				local newPos
				for i,v in pairs(subPages) do
					local subPage = b[v]
					if subPage.Name == subPageName then
						newPos = i
					elseif subPage.Position.X.Scale == 0 then
						oldPos = i
					end
				end
				--
				if oldPos == nil then
					for i = 1, #subPages do
						if i ~= newPos then
							oldPos = i
						end
					end
				end
				--
				if pageName == "Admin" and currentPage.Name == "Admin" then
					spawn(function() main:GetModule("PageAdmin"):UpdatePages() end)
				end
				module:OpenMainFrame()
				if b:FindFirstChild("NavigateButtons") then
					navigateNewPage(b, oldPos, newPos, "Left", true)
				end
			end
		else
			b.Visible = false	
		end
	end
end
module:ShowSpecificPage("Home")


