cast to function doesnt work

well I’ve changed a bit because my code just went missing dont know why. So I set up another Game.



so I want to change the Variable Weaponmodetruefalse (inside of the NewHud) to the state of Weaponmode in BP_Weapon_Component. I dont exactly know where I should put the set you said to put?