Why does this gate not work?

Yeah, that type. Although I know its simple, I’m still pretty confused on it, even after looking through the video. Tried looking through the source files they provided but they just lock up while initializing. I have a “interact system” interface. In it, what should I do? Put the trace compare in there, or put a “is berry ready” thing in there or just Booleans and things? And would I access that from the first person character, or the object?

Also, I’m sorry if i’m pestering you, I’m just really confused. Thank you so much for your help!