Spawn Multy actors along spline

hello, I’m creating a mat to use in animations at my company, I need help because for now I need to duplicate each actor that will follow the spline, I would like to create a method in which I can put the amount of actors that follow the spline