Muzzle flash and trail?

I have some problems adding muzzleflash and bullet trail.

I’m following this tutorial:

But when I fire the muzzle flash, it is not removed again and just floats in the air…

I’ve tried destroying the actor after a delay, but the delay is messing up my fire rate…

Also I can’t get my bullet trails to spawn and rotate correctly… And if I do as in the tutorial on the screenshot below, I get errors when running the game…

I’ve tried cast to mycharacter, but it also gave me errors…

You can run a sequence to spawn emitter ATTACHED ( not at location ) you can then run the delay and destroy actor.
You’ll need to rethink the bullet trail, make sure the particle beam is setup correctly and emit it between the muzzle flash socket and the hit point.