The only reason the party was a success was that a famous film star attended. -> Had it not
Giải thích
Had it not been for the attendance / presence/ appearance of a famous film star the party would not have been a success/ would have been a failure
Had it not been for the attendance / presence/ appearance of a famous film star the party would not have been a success/ would have been a failure