Blueprint Stops Working?

I am creating a program in which the player can press the Z key to state the program is on, walk up to an object, and the program will continuously print the name of the object. However, the program will stop printing after a few seconds, and even the print that tells the user whether the function is on or off is not printing. This does not happen in the tutorial I am following, so could this be a bug or an overload issue? I have yet to check the Blueprint Simulation on a second monitor, but I cannot find any activity in the Class Blueprint simulation. I am using version 4.21.1 of Unreal and I am using a Dell Laptop. Any advice?