expected unqualified-id before 'else'

Hi I am making a PIR Sensor with two servos connected in the code and I can’t figure out how to fix the problem. If anyone could shed some light on the situation, I would appreciate it a lot. Thanks!

snoopy_v.3.ino (4.01 KB)

I'd say you're missing at least one right curly brace. Consistent indentation would help you spot where it should be.