I want to stop the timer

Same as here:

If the timer is in the Third Person blueprint, use its return value Handle reference to control it; or, better, add custom events to call.


Not sure how you expect what you posted to work, this executes every frame. If you have a timer running in another blueprint, use that blueprint to control it. The widget can just read the value.