Actor not attaching to socket

I would recommend you to follow a different tutorial because the one you’re following have a lot of issues and the project is based on a very old engine version.
A very good TPS game tutorial: https://www.youtube.com/playlist?list=PLM6ZWbxOgIqsCb3dUJRdYoUbyi_zFCOjs