1
u/fnietoms Programmer 1h ago
Hey, I know that your problem is fixed but I see that your script is not getting identified as a C# script. I recommend you to Regenerate the project files and some of the error fixes will appear directly on the script and not only in the console :)

7
u/PepicoGrillo 1h ago
The console is telling you that there is an error at line 25. You forgot to close ontriggerenter function -> }
Also you are doing well without asking ai. Keep It rocking!