So I Made an actor BP and called it money. I put a collision box and Static mesh of a cube in there and made the static mesh have no collision.
The variable ThirdPersonCharacter is a variable I created and for the type I just did ThirdPersonCharacter.
The only code I did here was On ComponentOverlapBegin it gets the actor that entered the collision box, casts to the thirdpersoncharacter bp and if thats true it attaches the static mesh of the money bp to the actor.
Make sure on “attach actor to componenet” not attach actor to actor, make sure you select snap to target on all location rotation and scale/
Hope this helps