Hi AriRizki-3378,
Following article explained what you need to do to save attachments. You need to follow only that last step that will configure outlook to ask you before running the script again.
https://mailsmartly.com/outlook-automatically-save-attachments/
You can choose the run scripts without asking but at your own risk.
Hope this helps!