Explain in detail what you want to happen. People will only be able to help you effectively if you take your time and explain clearly, in a structured way, what it is that you want to achieve.
For example, you could write something like:
“I have:
- A region named Dungeon Region.
- Four other regions named Random Region 00, Random Region 01, Random Region 02 and Random Region 03.
- A boss unit located in the Dungeon Region.
- Four hero units owned by players one to four respectively.
I want to do this:
When the boss dies then I want to move all the heroes that are in the Dungeon Region to one of the four "Random" regions. This should be random. For example, one of the heroes might end up in Random Region 03 while the other three ends up in Random Region 01.”