:state=0,plrwithinzone=1:timerstart,state=1
:state=1,timergreater=10000,plrwithinzone=1:state=2
:state=1,plrwithinzone=0:state=0
:state=2:timerstart,state=3
:state=3,timergreater=2000,plrwithinzone=1:plraddhealth=-10,state=2
:state=3,plrwithinzone=0:state=0
you don't want the resets (plrwithinzone=0) to be limited by the timer.
Also you can say
:plrwithinzone=0:state=0
and not place any more of them.
to bob the plr look for merranvos' jetpack and mearly move the entity randomly up and down.
He who is mortal is bound by his soul, He who is immortal has no soul