delay doesn't work

Hey there @tsygankova! Welcome to the community! How often does OnSeePawn fire? If it’s every tick the player is visible, your issue is likely that the delay is fired many times and Delays will fire after it’s time regardless of current conditions. The correction for that would be to either using a Timer and invalidating it if need be or a “DoOnce” then resetting it when your process is done.