Depending on where you go, the "best" time to visit changes:

The second inter-monsoonal period is characterized by unpredictable, heavy rain as the country transitions between monsoons. "Off Season" or Shoulder Season (When to Find Deals)

Malaysia’s real magic lies in its festivals — many tied to religious calendars that shift year to year, creating unique “seasons of celebration.”