i need help with my code it says i got errors and it says when i try to open it its not stable plz help me ,i think i have some errors in my code plz help

enter code herehello so i am making my first game and i was trying to make a working lightswitch and i am not sure where i messed up and now it says my game is unstabled can you help me plz and thank you

,i am making my first game and i made some code to make a working light switch but now it wont let me play it says i have compiation errors can you help me plz and should i open in safe mode thank you

It would help if I saw the error you were getting. That way, I can look at your code and possibly see what is wrong.