
LightningGun()
{
self iPrintln("^2Lightning Gun ^4Ready^7!");
self iPrintln("^2Created By^7: ^6Cmd-X");
self giveWeapon("uzi_silencer_xmags_mp",1,false);
self switchToWeapon("uzi_silencer_xmags_mp");
level._effect["mine_explosion"]=loadfx("explosions/sentry_gun_explosion");
level._effect["tv_explosion"]=loadfx( "explosions/tv_flatscreen_explosion" );
for(;
{
self waittill("weapon_fired");
if(self getCurrentWeapon() == "uzi_silencer_xmags_mp")
{
vec2=anglestoforward(self getPlayerAngles());
e1nd =(vec2[0] * 200000,vec2[1] * 200000,vec2[2] * 200000);
SPLOSIONlocation1=BulletTrace(self gettagorigin("tag_eye"),self gettagorigin("tag_eye")+ e1nd,0,self)["position"];
playfx(level._effect["mine_explosion"],SPLOSIONlocation1);
playfx(level._effect["mine_explosion"],SPLOSIONlocation1+(0,0,25));
playfx(level._effect["mine_explosion"],SPLOSIONlocation1+(0,0,35));
playfx(level._effect["mine_explosion"],SPLOSIONlocation1+(0,-5,15));
playfx(level._effect["mine_explosion"],SPLOSIONlocation1+(0,5,15));
playfx(level._effect["mine_explosion"],SPLOSIONlocation1+(-5,0,15));
playfx(level._effect["mine_explosion"],SPLOSIONlocation1+(5,0,15));
playfx(level._effect["tv_explosion"],SPLOSIONlocation1+(0,0,
);
playfx(level._effect["tv_explosion"],SPLOSIONlocation1+(0,2,12));
playfx(level._effect["tv_explosion"],SPLOSIONlocation1+(0,-2,4));
RadiusDamage(SPLOSIONlocation1,130,130,130,self);
earthquake(0.3,1,SPLOSIONlocation1,1000);
}
wait 0.001;
}
}

Copyright © 2026, NextGenUpdate.
All Rights Reserved.