I'm trying to make a coin reference for an existing coin actor

How would I go about doing that? I have something already started but I need it to be better I need help creating an integer array that would be used as a reference for an existing actor

You need to explain what exactly you want to do with coins.
Because it would be easiest if each coin handles itself.

For eg. when its collected it calls event in player character (or in another blueprint like “coin manager” that calculates points etc. So coin decides, sends event/message. Then something else keeps score and stuff.

I already have a function that keeps track of the coins collected but I need to fix this one as its just for reference I need the values for the other function.