Turret for my zombiesurvival mod

i would like to have a gun that spawn a turret and the turret can have a beam and when a zombie touch the beam the turret start to aiming in the head and shooting. The turret would need ammo inside and you have to put your own ammo in when u press “e” on it with a rifle. The turret need like 300 hp and it would just attack zombie npcs and zombie players . If anyone can help me , i would be so happy.And the damage and kills that do would be mine , like it say Fearlesskiller (killicon) player123.The turret need the hl2 model and animation and the beam follow the animations.

If any1 can do that , he would be my god !