tamirroz12 why did you create another post? how about you finish the question on the previous post you created.. its the same question..
The error tells you whats wrong...
YOu pasted in the code from somewhere and think it will work.. the AI does not create proper indentations.. hence why i have python... gdscript inherited this garbage from python thus your code does not compile..
You need to add proper indentations using the TAB key on keyboard.. delete mt spaces in all of your lines and press tab..
Please continue this topic in one post so that people searching on google with the same problem will lead to a single post that will hopefully contain the answer..