Thank you, following it now.
What I am missing is at the very beginning, is some explanation:
You made a class.
A new script started with: extends Node2D
You changed it to: class_name Gameplay extends Node2D
But I believe you did not explain why. Maybe you will explain it later, I'm still at the 4th minute.