GamerDreams2019ns we don't have crystal balls on our desks!
I can't say whats wrong in your script without viewing/testing it. The gamecondition for victor will be triggered if there is no valid army left or present.
So with all information you gave me i can only say, you did something wrong with armies.
Please post your map (not only the script) here, so we can take a look at it.
I found out it was the script file. It was empty (blank) when I opened it with notepad. Very likely is becos map editor was not responding and I forced it to shut down by clicking the 'close windows' non-stop (the red cross of windows at the right hand top corner)
I fixed by copying the script file from my backup folders.