Variable can't be really set since it keeps considering the default value

Hi, I’m trying to make coins that collected make an integer to be previous value+1 (in order to register how many coins have been collected), but every time I collect a coin (a sphere with overlap collision with actorbeginoverlap) the int keeps adding 1 to the same default value (zero), leading the entire blueprint not to work.

I’m not sure what the problem is, but you’re placing your DestroyActor node before your logic. Therefore, no logic would be executed if the actor doesn’t exist at all.

Like @Aumenn2003 says. But also, you need to keep the variable somewhere outside the BP, otherwise it just be zero for each separate instance of the coin.