Auto-translated
landw1rt, it's not entirely clear which lines you're adding where and at what point the game crashes. It's possible that the GetAllNames() function returns a string instead of a table. Also, you can get the heroes of a specific player using the GetPlayerHeroes(PLAYER_NUMBER) function.