Create a Integer var. Now when a player selects a hero, set that var to its value + 1 and check if its value is equal to the number of human players playing. If it is, unpause.
Notice that you must check for "current statues: is playing" and if it is a human player.