error CS1002: ; expected

@OBEZ Should be “else” not “esle”. Also in your for loop, you aren’t doing anything with i and you don’t need newid. You could remove the first if statement and move it prior to the for loop. Your debug log statements are the same, and won’t let you know which condition was executed. Tips for new Unity users