Hide and seek multiabke game modes

How to make a randomizer? I don’t know how they work, but: