You need a visa for Malaysia if you have a Pakistani passport
Visa options for Malaysia
Electronic visitor visa
Travellers 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 travellers can submit their applications and supporting documents online. Once the application is approved, travellers receive their eVisa confirmation electronically. A valid visa is required to board the flight. If the visa is expired or doesn’t match the traveller’s passport information, travellers will not be able to board their flight.