Why does this condition keep giving me errors?

I got my project working, thanks again.