Find the place in your script that triggers the errors, show us screenshots of the offending pieces and explain what you were doing. Also do tell what the general goal is and what you want to achieve.
Those errors generate messages in the log, you can click on them and it will take you to the part of the script that failed.
What you posted only tells us you have invalid references. Too little to advise anything.
When I click on the error it takes me here.
When an object enters a certain collision area, I want it to focus on the object, create a yellow stripe around it, and then interact with it. For example, the light turns on when you press the “E” key.
Going by the script I do not understand what you’re trying to do. Normally, it would be the player / controller who would interact with a widget providing we’re inside an interactive area.
Here it seems that it is the area that is trying to fetch a widget? Even if you did manage that, what would be the next step.
Actually, I did this by looking at a tutorial video series. All my steps were correct, but when I did the steps in the last video of the series, all my codes were broken.