Emitter not connecting to socket

FIXED!!!

Hey

I’m having a little problem with spawning an emitter, i am new to UE4 and i looked everywhere for a tutorial on adding a muzzle flash with replication but this is the only way i can get it to work, i don’t know how to cast it to the rifle so i just created a socket on my player mesh where my muzzle should be because in my game it’s locked to a certain axis but for some reason the muzzle keeps shooting out of his testicles >.<

Does anybody know why this is happened? i would be so grateful

Video Example:

Thank you

Just fixed this by adding set relative position / rotation just after the emitter spawn