ignore those "shadows a variable at a preceding level" warnings unless you have the courage to change your variables. For the error, do as it says. For the errors, follow each error message and fix it.
I don't really understand what you mean by "Fix it". I just got back to scripting, and it says errors that should be fixed, and that's is why I'm posting on this forum for help. Can someone please help me?