What is the proper script with roll a ball?

i’ve been trying to create the “roll a ball” game and the way the video torturail shows how to do, i have done exactly, but everytime i try to play it, i get errors upon errors. please help, thank you

Go under the video tutorial and copy and paste the correct script.

@Dudicus