You need a visa for Malaysia if you have a Pakistani passport
Visa options for Malaysia
Electronic visitor visa
Travelers need a visa to visit Malaysia for Business or Tourism for a maximum stay of 30 days. A Malaysian eVisa is the fastest and easiest way of obtaining a visa for Malaysia because travelers can submit their applications and supporting documents online. Once the application is approved, travelers receive their eVisa confirmation electronically. A valid visa is required to board the flight. If the visa is expired or doesn’t match the traveler’s passport information, travelers will not be able to board their flight.