I can enter if but not execute statements inside

If you know to fix thanks. I can enter in the if but buffer is lag?