Yes, you can work at McDonald’s Singapore with a foreign student pass, but there are certain conditions. https://www.mom.gov.sg/passes-and-permits/work-pass-exemption-for-foreign-students
Additionally, you must be enrolled in an approved institution by the Ministry of Manpower (MOM).