Log In  


1


You have an unclosed function at line 13.


I know that I just don't know how to get rid of it I'll show you the code it have for it


You need to add another "end" at the end. The last "end" ends the first conditional statement, so the function is still unclosed.


But I have 2 ends at the end


Yes, and you need another one. The first "end" ends the conditional inside the other conditional.


So 3 ends?


Yes. One for the nested conditional, one for the conditional containing it, and one for the function.


Thank you so much it helped me out and got my game to work


Happy to help!



[Please log in to post a comment]