I Figured it out. I put the code inside a function instead. And added the custom time dilation to my player HUD so the bars are not affected by the dilation
Player BP
Slow TIme Function
PLayer HUD Widget