It was quite simple to make actually. If you have followed the Unreal infinite runner tutorial which I assume you have as you are trying to replicate his functionality.
You want to do a find all actors of class “coins”. Then from that selection check their distance from the player. If they are within your set distance, then move their position towards the player.
Here is a fairly simplified and messy way of doing it. You can see I am checking if the coin is within 400 units of the player and then if it is I move it towards the players location at 120% of the player speed, this is because my player speed goes up when I collect coins and I don’t want the player moving faster than the coins or they would never get to him.
You could probably optimize this a lot better then it currently is but it did the job for my very quick version.