local function t()local t=0 local i=""for o,x in pairs(mapVotes)do if x>t then t=x i=o end end print("\084\104\101 \119\105\110\110\105\110\103 \109\097\112 \105\115\058 "..i)game.ReplicatedStorage.VotingEnded:FireServer(i)end

local function determineWinningMap()
	local highestVotes = 0
	local winningMap = ""

	for map, votes in pairs(mapVotes) do
		if votes > highestVotes then
			highestVotes = votes
			winningMap = map
		end
	end

	-- Load the game with the winning map
	print("The winning map is: " .. winningMap)
	game.ReplicatedStorage.VotingEnded:FireServer(winningMap)
	-- Load the winning map using your game's specific logic
end
