Health keeping in First Person Shooter

[font=System][size=4]hey …[/size][/font]
[font=System][size=4]im trying to make a game like counter strike its called Counter Strike Source Flash Edition and i pretty much have everything under control except one thing … i dont know how to make the targets shoot at me… and take my health down… PLEASE HELP!!

Thank you in advance![/size][/font]

[font=System][size=4]-blah12:pac: [/size][/font]