Hi, thank you for your quick response!
I tried the first bit where I changed to Set World Location and Rotation, added the other skeletal mesh, and duplicated the code. Now the carriage just spawns inside the train. I have never done sockets before so could you explain how to use sockets if this is the best way to attach to the back of the train? I have tried attaching the carriage to the train in the components list but nothing changes.
Here is what I have so far: