function PlayerManager.getWinnerNames()if#activePlayers>=1 then local a=-1 local T={}for X,F in pairs(activePlayers)do local J=(leaderboardManager:getStat(F,"\080\111\105\110\116\115")).Value if J then if J>a then T={F.Name}elseif J==a then table.insert(T,F.Name)end end end return T else return{}end end

function PlayerManager.getWinnerNames()
	if #activePlayers >= 1 then
		local topScore = -1
		local winnerNames = {}
		
		for i, player in pairs(activePlayers) do
			local playerScore = leaderboardManager:getStat(player, "Points").Value 
			if playerScore then
				if playerScore > topScore then
					winnerNames = {player.Name}
				elseif playerScore == topScore then
					table.insert(winnerNames, player.Name)
				end
			end
		end
		
		return winnerNames
	else
		return {}	
	end
end
