Text not appearing, My int text won't appear on collision

I am currently making a first-person game. There is a system of where when the player’s camera collides with a light switch, the light switch will allow the player to interact with it, and a text saying “[E] Interact” will appear. The text will disappear when the player camera isn’t colliding with it anymore. However, I did something that triggered a bug. When the camera collides with the light switch, the interaction can still be done, but the text won’t appear anymore. I don’t know if it is something to do with either the light switch script, the player camera, or something else I don’t know. I would really appreciate the help.