if (canbehit && myhealth > 0 && (!flashing)) { myhealth -= 5 event_user(0) }