Help, my script will only run once

hey, I had this script setup where when the player presses F it would activate a different ability each time. 1 was gliding, the other was wall walking and the last was spawning a light. The problem is that I had it working where the player could cycle through the abilities and it was all working. Now i have done something and it will only let me go through them once. Im getting some errors and such but i cant seem to fix a fix for it. Please Help!!!

This branch is what the error is telling me to fix however i dont know what it wants me to do.

This is the error it is giving me.

and this is the script for the class that the get all actors of class is getting.

The error is telling you that it isn’t accessing anything, which means the class “Spirit” isn’t in the level. So either place it, or spawn it