Stopping execution in function?

I’m having this exact issue, keeps applying stuff to the last actor that the checktrace recieved even long after I’m within range of it, tried everything but I can’t figure it out.