Complex sentence: She is unable to reveal to anyone the secret of the ribbon and the existence of the Land of Magic or else her memory will be erased as punishment.
Split into simpler sentences: She is unable to reveal the secret of the ribbon and the existence of the Magical Kingdom to anyone. If she does, her memory will be erased as punishment.