My AI script is broken. It entered the arena with two heroes, and a MsgBox appeared, offering a battle for 20 Furies. And the most important thing is that it doesn't close; I had to use ALT+F4. It probably needs to be fixed.
Either the script needs to be made for a specific hero, or a hero check needs to be implemented.