Coins Counter Disappearing In The Hud After Binding it to Function

Hi there, i’ve created a simple coins counter that goes up after collecting any coins and now i’m trying to show the counter in the HUD. However after binding the text (Counter) in the HUD to a fucntion the Text Disappears and apparently the cast is failing … i’ve tried different methods and spent few hours looking it up online but had no luck.
i’ll attach the BPs Below

The ball is not the player, right? That’s your problem, you’re casting the player to the ball, but the player is not a ball.

Maybe try this:

correct and it’s working just fine now thank you!