Basically I need to use a variable that is in another script but im getting an error

I EXPLAIN MY PROBLEM IN DEPTH IN THE FOLLOWING VIDEO
https://www.youtube.com/watch?v=xn482KdWclg&list=UU-FoS5f_2Ogk7kZwl_sgpNw

So, yeah you can just look at my code in the video Very Happy