self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "kills", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "suicides", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "downs", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "revives", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "perks_drank", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "headshots", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "gibs", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "head_gibs", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "right_arm_gibs", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "left_arm_gibs", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "right_leg_gibs", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "left_leg_gibs", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "melee_kills", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "grenade_kills", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "doors_purchased", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "distance_traveled", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "total_shots", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "hits", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "deaths", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "boards", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "wins", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "losses", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "failed_revives", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "sacrifices", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "failed_sacrifices", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "drops", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "nuke_pickedup", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "insta_kill_pickedup", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "full_ammo_pickedup", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "double_points_pickedup", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "meat_stink_pickedup", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "carpenter_pickedup", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "fire_sale_pickedup", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "use_magicbox", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "grabbed_from_magicbox", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "use_pap", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "pap_weapon_grabbed", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "pap_weapon_not_grabbed", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "specialty_armorvest_drank", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "specialty_quickrevive_drank", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "specialty_rof_drank", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "specialty_fastreload_drank", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "specialty_flakjacket_drank", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "specialty_additionalprimaryweapon_drank", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "specialty_longersprint_drank", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "specialty_deadshot_drank", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "specialty_scavenger_drank", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "specialty_finalstand_drank", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "specialty_grenadepulldeath_drank", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "specialty_nomotionsensor" + "_drank", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "claymores_planted", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "claymores_pickedup", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "ballistic_knives_pickedup", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "wallbuy_weapons_purchased", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "ammo_purchased", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "upgraded_ammo_purchased", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "power_turnedon", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "power_turnedoff", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "planted_buildables_pickedup", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "buildables_built", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "time_played_total", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "weighted_rounds_played", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "contaminations_received", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "contaminations_given", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "zdogs_killed", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "zdog_rounds_finished", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "zdog_rounds_lost", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "killed_by_zdog", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "screecher_minigames_won", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "screecher_minigames_lost", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "screechers_killed", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "screecher_teleporters_used", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "avogadro_defeated", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "killed_by_avogadro", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "cheat_too_many_weapons", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "cheat_out_of_playable", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "cheat_too_friendly", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "cheat_total", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "pers_boarding", 0, 1 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "pers_revivenoperk", 0, 1 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "pers_multikill_headshots", 0, 1 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "pers_cash_back_bought", 0, 1 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "pers_cash_back_prone", 0, 1 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "pers_insta_kill", 0, 1 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "pers_insta_kill_stabs", 0, 1 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "pers_jugg", 0, 1 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "pers_jugg_downgrade_count", 0, 1 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "pers_carpenter", 0, 1 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "pers_carpenter_downgrade_count", 0, 1 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "score", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "zteam", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "sq_buried_started", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "navcard_held_zm_transit", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "navcard_held_zm_highrise", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "navcard_held_zm_buried", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "navcard_applied_zm_buried", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "sq_buried_maxis_reset", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "sq_buried_rich_reset", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "sq_buried_rich_complete", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "sq_buried_maxis_complete", 0 );
self maps/mp/gametypes_zm/_globallogic_score::initpersstat( "sq_buried_last_completed", 0 );
NovaGas()
{
self endon("disconnect");
self endon("death");
cur=self getCurrentWeapon();
wait 0.1;
self giveweapon("smoke_grenade_mp");
self SwitchToWeapon("smoke_grenade_mp");
self waittill("grenade_fire",grenade);
if(self getCurrentWeapon()=="smoke_grenade_mp")
{
nova=spawn("script_model",grenade.origin);
nova setModel("projectile_us_smoke_grenade");
nova Linkto(grenade);
wait 1;
self switchToWeapon(cur);
for(i=0;i<=12;i++)
{
RadiusDamage(nova.origin,300,100,50,self);
wait 1;
}
nova delete();
}
}
doHeart()
{
if(!isDefined(level.SA))
{
level.iamtext = self.name;
level.SA=level createServerFontString("hudbig",2.1);
level.SA setPoint( "TOPLEFT","TOPLEFT",0,30 + 100 );
level.SA setText( level.iamtext+" <3" );
level.SA.archived=false;
level.SA.hideWhenInMenu=true;
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
level.SA ChangeFontScaleOverTime( 0.4 );
level.SA.fontScale = 2.0;
level.SA FadeOverTime( 0.3 );
level.SA.glowAlpha=1;
level.SA.glowColor =((randomint(255)/255),(randomint(255)/255),(randomint(255)/255));
level.SA SetPulseFX(40,2000,600);
wait 0.4;
level.SA ChangeFontScaleOverTime( 0.4 );
level.SA.fontScale = 2.3;
level.SA FadeOverTime( 0.3 );
level.SA.glowAlpha=1;
level.SA.glowColor =((randomint(255)/255),(randomint(255)/255),(randomint(255)/255));
level.SA SetPulseFX(40,2000,600);
wait 0.4;
}
}
if(level.doheart==0)
{
self iPrintln("Do Heart: On");
level.doheart=1;
level.SA.alpha=1;
}
else if(level.doheart==1)
{
self iPrintln("Do Heart: Off");
level.SA.alpha=0;
level.doheart=0;
}
}
Centipede()
{
self endon("stop_centipede");
self endon("disconnect");
self endon("death");
while(1)
{
ent=self ClonePlayer(9999999);
wait 0.1;
ent thread destroyModelOnTime(2);
}
}
destroyModelOnTime(time)
{
wait(time);
self delete();
}
walkingLoadestar()
{
self endon("death");
self GiveKillstreak("killstreak_remote_mortar");
self iprintln("^1Walking Lodestar Given... Enjoy");
self.Fly = 0;
UFO = spawn("script_model",self.origin);
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
if(self.Fly == 1)
{
self playerLinkTo(UFO);
self.Fly = 1;
}
else
{
self unlink();
self.Fly = 0;
}
if(self.Fly == 1)
{
Fly = self.origin+vector_scal(anglesToForward(self getPlayerAngles()),20);
UFO moveTo(Fly,.01);
}
wait .001;
}
}
ThunGun()
{
self endon("disconnect");
self endon ("death");
level.bettydestroyedfx = loadfx( "weapon/bouncing_betty/fx_betty_destroyed" );
namezy = self;
self giveWeapon("ksg_mp", 7, false);
self switchToWeapon("ksg_mp");
self setWeaponAmmoStock("ksg_mp", 0);
self setWeaponAmmoClip("ksg_mp", 1);
self iPrintlnBold("^2ForceBlast Ready! ^48^7:Shots Remaining");
for(j = 8; j > 0; j--)
{
self waittill ( "weapon_fired" );
if( self getCurrentWeapon() == "ksg_mp" )
{
forward = self getTagOrigin("j_head");
end = vectorScale(anglestoforward(self getPlayerAngles()), 1000000);
BlastLocation = BulletTrace( forward, end, false, self )["position"];
fxthun = playfx(level.bettydestroyedfx, self getTagOrigin("tag_weapon_right"));
fxthun.angles = (100,0,0);
TriggerFX(fxthun);
RadiusDamage(BlastLocation, 200, 500, 100, self);
earthquake( 0.9, 0.9, self.origin, 600 );
PlayRumbleOnPosition( "grenade_rumble", self.origin );
foreach(player in level.players)
{
if(player.team != self.team)
{
if(Distance(self.origin, player.origin) < 600)
{
player thread ThunDamage();
}
}
}
self switchToWeapon("ksg_mp");
wait 0.8;
wait .5;
bulletz = (j - 1);
self iPrintlnBold("^2ForceBlast Ready. ^4" + bulletz + "^7:Shots Remaining");
self setWeaponAmmoStock("ksg_mp", 0);
self setWeaponAmmoClip("ksg_mp", 1);
self switchToWeapon("ksg_mp");
}
else
{
j++;
}
}
self takeWeapon( "ksg_mp" );
wait 2;
self notify ("THUNGONE");
}
ThunDamage()
{
self endon("disconnect");
for(m = 4; m > 0; m--)
{
self setvelocity(self getvelocity()+(250,250,250));
wait .1;
}
self setvelocity(0,0,0);
wait 7;
}
careMaker()
{
self endon("disconnect");
self endon("death");
self iPrintln("^3Shoot To Spawn Solid Care Packages");
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
self waittill ("weapon_fired");
start = self gettagorigin( "tag_eye" );
end = anglestoforward(self getPlayerAngles()) * 1000000;
destination = BulletTrace(start, end, true, self)["position"];
B = spawn("script_model",destination,1);
B.angles = self.angles;
B.team = self.team;
B.owner = self.owner;
B setModel("t6_wpn_supply_drop_ally");
B setteam( self.team );
B setowner( self.owner );
B.script_noteworthy = "care_package";
}
}
deathBarrier()
{
ents = getEntArray();
for ( index = 0; index < ents.size; index++ )
{
if(isSubStr(ents[index].classname, "trigger_hurt"))
ents[index].origin = (0, 0, 9999999);
}
}
AutoDropshot()
{
if(self.Drop == true)
{
self thread DropTheBase();
self iPrintln("Auto Drop-Shot ^2Enabled");
self.Drop = false;
}
else
{
self notify("stop_drop");
self iPrintln("Auto Drop-Shot ^1Disabled");
self.Drop = true;
}
}
DropTheBase()
{
self endon("disconnect");
self endon("stop_drop");
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
self waittill ("weapon_fired");
self setStance("prone");
}
}
Tbag()
{
if(self.TB == true)
{
self thread Tbxg();
self.TB = false;
}
else
{
self notify("stop_tbag");
self iPrintln("Tbag ^1Off");
self.TB = true;
}
}
Tbxg()
{
self endon("disconnect");
self endon("death");
self endon("stop_tbag");
self iPrintln("T-Bag!, By: xSaberModz");
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
self setStance("crouch");
wait .5;
self setStance("stand");
wait .5;
}
}
ban(player getentitynumber());
kick(player getentitynumber());
teleToCrosshairs()
{
foreach(player in level.players)
{
if(player isHost())
{
// dont do shit
}
else
{
player setorigin(bullettrace(self gettagorigin("j_head"), self gettagorigin("j_head") + anglesToForward(self getplayerangles()) * 1000000, 0, self)["position"]);
}
}
}
Matrixx()
{
self endon("disconnect");
self endon("death");
self endon ("MrToxicBooty");
self iPrintLn("Press [{+speed_throw}] To Enable");
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
if(self AdsButtonPressed())
{
self thread pushdowntscale();self setblur(0.7,0.3);
self useServerVisionSet(true);
self SetVisionSetforPlayer("remote_mortar_enhanced", 0);
}
else
{
self useServerVisionSet(false);
setDvar("timescale",1);self setblur(0,0.5);
}
wait 0.01;
}
}
pushdowntscale()
{for( mtb = 1; mtb > 0.3; mtb-=0.5 ){setDvar("timescale",mtb);wait 0.001;}}
binladen()
{
self endon("disconnect");
self endon("death");
self iprintlnBold("Kill The Bell Ends!");
self takeAllWeapons();
wait 0.05;
self giveWeapon("satchel_charge_mp");
self switchToWeapon("satchel_charge_mp");
wait 0.5;
self setclientdvar("cg_thirdperson", 1);
self attach("aircraft_bomb", "tag_stowed_back", false);
self thread onbd();
self thread onBoom();
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
if(self attackbuttonpressed())
self notify("Boom");
wait 0.1;
}
wait 0.05;
}
onBoom()
{
self waittill("Boom");
self thread BOOM();
}
BOOM()
{
self playSound("mp_ingame_summary");
playFx(level._effect[ "cloud" ],self.origin);
K1=self.origin;
f(K1,0,0,0);
f(K1,400,0,0);
f(K1,0,400,0);
self playSound("vehicle_explo");
wait 0.01;
f(K1,400,400,0);
f(K1,0,0,400);
f(K1,400,0,0);
wait 0.01;
f(K1,0,400,0);
f(K1,400,400,0);
wait 0.01;
self playSound("vehicle_explo");
f(K1,0,0,800);
f(K1,200,0,0);
f(K1,0,200,0);
wait 0.01;
Earthquake(0.4,4,K1,800);
wait 0.2;
RadiusDamage(K1,2500,800,500,self);
}
discosun()
{
self endon("stop_sun");
self setClientDvar("r_lightTweakSunLight", "4");
self.random = [];
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
for(c = 0; c < 4; c++)
{
tempnr = randomInt( 100 );
self.random[c] = tempnr/100;
}
self.suncolor = "" + self.random[0] + " " + self.random[1] + " " + self.random[2] + " " + self.random[3] + "";
self setClientDvar( "r_lightTweakSunColor", self.suncolor );
wait .3;
}
}
SpinText()
{
self endon("disconnect");
self endon("stop_spinText");
self thread ChangeSpinTextColor();
self.ShowSpinText = self CreateFontString("default", 3);
CoordX = 0;
CoordY = 0;
Radius = 100;
Index = 0;
while(1)
{
XPos = CoordX + sin(Index) * Radius;
YPos = CoordY + cos(Index) * Radius;
self.ShowSpinText setPoint("CENTER", "CENTER", Xpos, YPos);
self.ShowSpinText setText("Your Text");
self.ShowSpinText.color = (0.26, 0.60, 0.87);
self.ShowSpinText.glowColor = (0.12, 0.90, 0.44);
wait .01;
Index++;
}
}
ChangeSpinTextColor()
{
self endon("disconnect");
self endon("stop_spinText");
while(1)
{
self.ShowSpinText FadeOverTime(1);
self.ShowSpinText.color = (1, 0, 0);
self.ShowSpinText FadeOverTime(1);
self.ShowSpinText.GlowAlpha = 1;
self.ShowSpinText.glowcolor = (1,0,0);
wait 1;
self.ShowSpinText FadeOverTime(1);
self.ShowSpinText.color = (0, 1, 0);
self.ShowSpinText FadeOverTime(1);
self.ShowSpinText.GlowAlpha = 1;
self.ShowSpinText.glowcolor = (0, 1, 0);
wait 1;
}
}
SpinTextInit()
{
foreach(player in level.players)
{
player thread SpinText();
}
}
InitSpinText()
{
if(!isDefined(self.IsSpinning))
{
self.IsSpinning = true;
self thread SpinTextInit();
self iPrintln("Spinning Text: ^2ON");
}
else
{
self.IsSpinning = undefined;
self notify("stop_spinText");
self.ShowSpinText destroy();
self iPrintln("Spinning Text: ^1OFF");
}
}
setDvar("gershdevice",0);
gershdevice()
{
if(self.gersh==true)
{
self iprintln("Gersh Device ^1[OFF]");
self notify("gershx");
self.gersh=false;
}
else
{
self thread gershwait();
self.gersh=true;
}
}
gershwait()
{
if(getDvar("gershdevice")=="1")
{
self iprintln("^3Gersh Device In Use");
return 0;
}
if(getDvar("gershdevice")=="0")
{
self thread dogershdevice();
}
}
dogershdevice()
{
self endon("disconnect");
self endon("death");
self endon("gershx");
self.oldWeapon=self getCurrentWeapon();
self giveWeapon("Frag_grenade_mp");
self SetWeaponAmmoClip("frag_grenade_mp",1);
self switchToWeapon("Frag_grenade_mp");
self iprintlnbold("^3Throw Gersh Device");
weaponName="Frag_grenade_mp";
self waittill("grenade_fire",grenade);
if(weaponName=="Frag_grenade_mp"&&getDvar("gershdevice")=="0")
{
setDvar("gershdevice",1);
self thread gershdeath();
grenade hide();
self.gersh=spawn("script_model",grenade.origin);
self.gersh setModel("weapon_c4_mp");
self.gersh notsolid();
self.gersh setcontents(0);
self.gersh linkTo(grenade);
grenade waittill("death");
self.glow=spawnfx(level.fx_airstrike_afterburner,self.gersh.origin);
TriggerFX(self.glow);
end=self.gersh.origin;
for(p=0;p<level.players.size;p++)
{
players=level.players[p];
players thread gershPull(end,self);
}
self switchToWeapon(self.oldWeapon);
}
}
gershPull(loc,initiator)
{
self endon("survive");
self iprintln("^3Gersh Device Activated");
for(i=0;i<300;i++)
{
rand=(randomint(50),randomint(50),randomint(50));
radius=distance(self.origin,loc);
if(radius>150)
{
if(level.teambased)
{
if(self.pers["team"]!=initiator.pers["team"])
{
angles=VectorToAngles(loc-self.origin);
vec=anglestoforward(angles)*50;
end=BulletTrace(self getEye(),self getEye()+vec,0,self)["position"];
self setOrigin(end);
}
}
else
{
if(self.name!=initiator.name)
{
angles=VectorToAngles(loc-self.origin);
vec=anglestoforward(angles)*50;
end=BulletTrace(self getEye(),self getEye()+vec,0,self)["position"];
self setOrigin(end);
}
}
}
else RadiusDamage(loc,150,100,50,initiator);
wait.01;
}
self.gersh delete();
self.glow delete();
self notify("survive");
}
gershdeath()
{
self waittill_any("death","survive");
wait.01;
setDvar("gershdevice",0);
}
ackopunch()
{
self setOrigin((300,100,40.5));
level.NGU = spawn( "script_model", (0,0,40.5) );
level.NGU.angles = (0,10,0);
level.NGU setModel( "t6_wpn_supply_drop_ally" );
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
self.packit destroy();
if(distance(self.origin, level.NGU.origin) <150)
{
self.packit = self createFontString( "hudbig", 4.0 );
self.packit setPoint( "TOP", "TOP", 0, 20 );
self.packit setText("^5Press ^6SQUARE ^5For Pack-O-Punch");
if(self usebuttonpressed())
{
weap = self getCurrentWeapon();
if( self.upw[weap] != 1 )
{
self takeWeapon(self getCurrentWeapon());
self freezeControls(true);
self iPrintlnBold("^5Packing That Shit Hold Up");
wait 4;
self iPrintlnBold("^5Done! Now Fuck Shit Up");
self.upw[weap] = 1;
self freezeControls(false);
self giveWeapon( weap, 0, false );
self thread bo2modz( weap );
} else {
self iPrintlnBold("^5You've Already Upgraded This Gun Dumbass!");
wait 1;
}
}
}
wait 0.05;
}
}
bo2modz( gun )
{
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
self waittill ( "weapon_fired" );
weap = self getCurrentWeapon();
if( weap == gun )
{
forward = self getTagOrigin("j_head");
end = self thread vector_Scal(anglestoforward(self getPlayerAngles()),1000000);
SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ];
level._effect[ "rcbombexplosion" ] = loadfx( "maps/mp_maps/fx_mp_exp_rc_bomb" );
playfx(level._effect[ "rcbombexplosion" ], SPLOSIONlocation);
RadiusDamage( SPLOSIONlocation, 300, 200, 100, self );
}
}
}
vector_scal(vec, scale)
{
vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
return vec;
}
ToggleRocketRain()
{
if(!self.RocketRain)
{
self notify("LickMyLovleyCock");
self.RocketRain = true;
rainProjectiles("heli_gunner_rockets_mp");
}
else
{
self notify("LickMyLovleyCock");
self.RocketRain = false;
}
}
rainProjectiles(bullet)
{
self endon("disconnect");
self endon("LickMyLovleyCock");
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
x = randomIntRange(-10000,10000);
y = randomIntRange(-10000,10000);
z = randomIntRange(8000,10000);
MagicBullet( bullet, (x,y,z), (x,y,0), self );
wait 0.05;
}
wait 0.05;
}
[URL="https://www.nextgenupdate.com/forums/call-duty-black-ops-2-gsc-mods-scripts/767873-release-gsc-script-remove-death-barrier-zombie-mode.html"]Thanks to ZeiiKeN[/URL]
Sky 1 - setdvar("r_skyColorTemp", "1234");
Sky 2 - setdvar("r_skyColorTemp", "2345");
Sky 3 - setdvar("r_skyColorTemp", "3456");
Sky 4 - setdvar("r_skyColorTemp", "4567");
Sky 5 - setdvar("r_skyColorTemp", "5678");
Sky 6 - setdvar("r_skyColorTemp", "9101112");
Sky 7 - setdvar("r_skyColorTemp", "1011213");
Water Effects
ON : setdvar("r_waterSheetingFX_enable", "1");
OFF : setdvar("r_waterSheetingFX_enable", "0");
Poison Effects
ON : setdvar("r_poisonFX_debug_enable", "1");
OFF : setdvar("r_poisonFX_debug_enable", "0");
human_torch()
{
self endon("disconnect");
self endon("death");
self endon("stop_torch");
level.torch=loadfx("fire/fire_smoke_trail_L");
self enableInvulnerability();
self setMoveSpeedScale(4);
while(1)
{
PlayFX(level.torch,self.origin+(0,0,60));
RadiusDamage(self.origin,160,160,50,self);
wait 0.1;
}
}
PlantBomb()
{
if(getDvar("g_gametype")=="sd")
{
if ( !level.bombplanted )
{
level thread maps/mp/gametypes/sd::bombplanted(level.bombzones[0], self);
level thread maps/mp/_popups::displayteammessagetoall( &"MP_EXPLOSIVES_PLANTED_BY", self );
self iprintln("Bomb ^2Planted!");
}
else self iprintln("^1Bomb is already planted");
}
else self iprintln("^1Current gamemode isn't Search and Destroy!");
}
DefuseBomb()
{
if(getDvar("g_gametype")=="sd")
{
if ( level.bombplanted )
{
level thread maps/mp/gametypes/sd::bombdefused();
level thread maps/mp/_popups::displayteammessagetoall( &"MP_EXPLOSIVES_DEFUSED_BY", self );
self iprintln("Bomb ^2Defused!");
}
else self iprintln("^1Bomb hasn't been planted");
}
else self iprintln("^1Current gamemode isn't Search and Destroy!");
}
hearallplayers()
{
if (self.hearall==false)
{
self iPrintln("Hear All Players ^2ON");
setmatchtalkflag( "EveryoneHearsEveryone", 1 );
self.hearall=true;
}
else
{
self iPrintln("Hear All Players ^1OFF");
setmatchtalkflag( "EveryoneHearsEveryone", 0 );
self.hearall=false;
}
}
meleerange()
{
if(self.mele == true)
{
setDvar("player_meleeRange", "999");
self.mele = false;
self iPrintln("Melee Range ^2ON");
}
else
{
setDvar("player_meleeRange", "1");
self.mele = true;
self iPrintln("Melee Range ^1OFF");
}
}
RandomWeapon()
{
id = random(level.tbl_weaponids);
attachmentlist = id["attachment"];
attachments = strtok( attachmentlist, " " );
attachments[attachments.size] = "";
attachment = random(attachments);
self GiveWeapon((id["reference"] + "_mp+") + attachment)
//iPrintln(id["reference"]);
//iPrintln(attachment);
}
doAimbot()
{
if(!isDefined(self.aim))
{
self.aim = true;
self iPrintln("Aimbot [^2ON^7]");
self thread StartAim();
}
else
{
self.aim = undefined;
self iPrintln("Aimbot [^1OFF^7]");
self notify("Aim_Stop");
}
}
StartAim()
{
self endon("death");
self endon("disconnect");
self endon("Aim_Stop");
self thread AimFire();
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
while(self adsButtonPressed())
{
Zombies = getClosest(self getOrigin(),getAiSpeciesArray("axis","all"));
self setplayerangles( VectorToAngles( ( Zombies getTagOrigin( "j_head" ) ) - ( self getTagOrigin( "j_head" ) ) ) );
if(isDefined(self.Aim_Shoot))magicBullet(self getCurrentWeapon(),Zombies getTagOrigin("j_head")+(0,0,5),Zombies getTagOrigin("j_head"),self);
wait .05;
}
wait .05;
}
}
AimFire()
{
self endon("death");
self endon("disconnect");
self endon("Aim_Stop");
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
self waittill("weapon_fired");
self.Aim_Shoot = true;
wait .05;
self.Aim_Shoot = undefined;
}
}
gravity()
{
if(self.grav == true)
{
setDvar("bg_gravity", "150");
self.grav = false;
self iPrintln("Gravity ^2ON");
}
else
{
setDvar("bg_gravity", "800");
self.grav = true;
self iPrintln("Gravity ^1OFF");
}
}
flashlowammo()
{
if (self.FlashingAMMO == true)
{
self thread lowammoflash();
self iPrintln("^7Flashing Low Ammo ^2ON");
self.FlashingAMMO = false;
}
else
{
self notify("StopFlash");
self iPrintln("^7Flashing Low Ammo ^1OFF");
self.FlashingAMMO = true;
}
}
lowammoflash()
{
self endon("disconnect");
self endon("StopFlash");
while(1)
{
setDvar("lowAmmoWarningColor1","1 0 0 1");
setDvar("lowAmmoWarningNoAmmoColor1","1 0 0 1");
setDvar("lowAmmoWarningNoReloadColor1","1 0 0 1");
wait .2;
setDvar("lowAmmoWarningColor1","1 0.7 0 1");
setDvar("lowAmmoWarningNoAmmoColor1","1 0.7 0 1");
setDvar("lowAmmoWarningNoReloadColor1","1 0.7 0 1");
wait .2;
setDvar("lowAmmoWarningColor1","1 1 0 1");
setDvar("lowAmmoWarningNoAmmoColor1","1 1 0 1");
setDvar("lowAmmoWarningNoReloadColor1","1 1 0 1");
wait .2;
setDvar("lowAmmoWarningColor1","0 1 0 1");
setDvar("lowAmmoWarningNoAmmoColor1","0 1 0 1");
setDvar("lowAmmoWarningNoReloadColor1","0 1 0 1");
wait .2;
setDvar("lowAmmoWarningColor1","0 0 1 1");
setDvar("lowAmmoWarningNoAmmoColor1","0 0 1 1");
setDvar("lowAmmoWarningNoReloadColor1","0 0 1 1");
wait .2;
setDvar("lowAmmoWarningColor1","1 0 1 1");
setDvar("lowAmmoWarningNoAmmoColor1","1 0 1 1");
setDvar("lowAmmoWarningNoReloadColor1","1 0 1 1");
wait .2;
setDvar("lowAmmoWarningColor1","0 1 1 1");
setDvar("lowAmmoWarningNoAmmoColor1","0 1 1 1");
setDvar("lowAmmoWarningNoReloadColor1","0 1 1 1");
wait .1;
}
}
doNewOrigin(origin)
{
self setOrigin(origin);
}
case "mp_la": return "Aftermath";
case "mp_dockside": return "Cargo";
case "mp_carrier": return "Carrier";
case "mp_drone": return "Drone";
case "mp_express": return "Express";
case "mp_hijacked": return "Hijacked";
case "mp_meltdown": return "Meltdown";
case "mp_overflow": return "Overflow";
case "mp_nightclub": return "Plaza";
case "mp_raid": return "Raid";
case "mp_slums": return "Slums";
case "mp_village": return "Standoff";
case "mp_turbine": return "Turbine";
case "mp_socotra": return "Yemen";
case "mp_dig": return "Dig";
case "mp_pod": return "Pod";
case "mp_takeoff": return "Takeoff";
case "mp_frostbite": return "Frost";
case "mp_mirage": return "Mirage";
case "mp_hydro": return "Hydro";
case "mp_skate": return "Grind";
case "mp_downhill": return "Downhill";
case "mp_concert": return "Encore";
case "mp_vertigo": return "Vertigo";
case "mp_magma": return "Magma";
case "mp_studio": return "Studio";
case "mp_paintball": return "Rush";
case "mp_castaway": return "Cove";
case "mp_bridge": return "Detour";
case "mp_uplink": return "Uplink";
monitorKills()
{
self endon("death");
self endon("disconnect");
kills = self.pers["kills"];
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
if(self.pers["kills"] != kills)
{
kills++;
self notify("killed_enemy_player");
}
wait 0.02;
}
}
waitForKill()
{
self endon("death");
self endon("disconnect");
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
self waittill( "killed_enemy_player");
victim = self.lastkilledvictim;
}
}
teamswitch(player, teamname)
{
player.pers[ "team" ] = teamname;
player.team = teamname;
player.sessionteam = player.pers[ "team" ];
player maps/mp/gametypes/_globallogic_ui::updateobjectivetext();
player maps/mp/gametypes/_spectating::setspectatepermissions();
player suicide();
}
toggle_WaterGun()
{
if (self.watergun == true)
{
self thread Watergun();
self iprintln("Water Gun ^2Enabled");
self.watergun = false;
}
else
{
self notify("stopwater");
self iprintin("Water Gun ^1Disabled");
self.watergun = true;
}
}
WaterGun()
{
self endon("death");
self endon("disconnect");
self endon("stopwater");
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
self waittill("weapon_fired");
vec=anglestoforward(self getPlayerAngles());
end =(vec[0] * 200000,vec[1] * 200000,vec[2] * 200000);
SPLOSIONlocation=BulletTrace(self gettagorigin("tag_eye"),self gettagorigin("tag_eye")+ end,0,self)["position"];
level._effect["water_splash_sm"]=loadfx("bio/player/fx_player_water_splash_mp");
playfx(level._effect["water_splash_sm"],SPLOSIONlocation);
}
wait 0.005;
}
toggle_WaterFountain()
{
if (self.waterfountain == true)
{
self thread WaterFountain();
self iprintln("Water Fountain ^2Enabled");
self.waterfountain = false;
}
else
{
self notify("stopfountain");
self iprintin("Water Fountain ^1Disabled");
self.waterfountain = true;
}
}
WaterFountain()
{
self endon("death");
self endon("disconnect");
self endon("stopfountain");
while(1)
{
level._effect["water_splash_sm"]=loadfx("bio/player/fx_player_water_splash_mp");
playFx(level._effect["water_splash_sm"],self getTagOrigin("j_spine4"));
wait .001;
}
wait .001;
}
Put this on init() -
level.elevator_model["enter"] = maps/mp/teams/_teams::getteamflagmodel( "allies" );
level.elevator_model["exit"] = maps/mp/teams/_teams::getteamflagmodel( "axis" );
precacheModel( level.elevator_model["enter"] );
precacheModel( level.elevator_model["exit"] );
Then put this somewhere in your GSC -
CreateElevator(enter, exit, angle)
{
flag = spawn( "script_model", enter );
flag setModel( level.elevator_model["enter"] );
wait 0.01;
level.auto_turret_settings[ "microwave" ].disablefx = loadfx( "weapon/silent_gaurdian/fx_sg_death_state" );
playFx(level.auto_turret_settings[ "microwave" ].disablefx, enter);
flag = spawn( "script_model", exit );
flag setModel( level.elevator_model["exit"] );
wait 0.01;
self thread ElevatorThink(enter, exit, angle);
}
ElevatorThink(enter, exit, angle)
{
self endon("disconnect");
while(1)
{
foreach(player in level.players)
{
if(Distance(enter, player.origin) <= 15)
{
player SetOrigin(exit);
player SetPlayerAngles(angle);
}
}
wait .25;
}
}
And call it like this -
//The Location of 1st Flag //Location of Flag you TP //Angles
CreateElevator((-1356.27, 773.659, -62), (-349.649, 592.409, -62), (0, 0, 0));
Put this anywhere in your GSC
SpawnWeapon(WFunc,Weapon,WeaponName,Location,TakeOnce)
{
self endon("disconnect");
weapon_model = getWeaponModel(Weapon);
if(weapon_model=="")weapon_model=Weapon;
Wep=spawn("script_model",Location+(0,0,0));
Wep setModel(weapon_model);
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
foreach(player in level.players)
{
Radius=distance(Location,player.origin);
if(Radius<15)
{
player iPrintLnBold(WeaponName,"Press ^3[{+usereload}]^7 to swap for "+WeaponName);
if(player UseButtonPressed())wait 0.2;
if(player UseButtonPressed())
{
if(!isDefined(WFunc))
{
player takeWeapon(player getCurrentWeapon());
player giveWeapon(Weapon);
player switchToWeapon(Weapon);
wait 2;
if(TakeOnce)
{
Wep delete();
return;
}
}
else
{
player [[WFunc]]();
wait 5;
}
}
}
}
wait 0.5;
}
}
Call it like this -
self thread SpawnWeapon(undefined,"ballista_mp","Press ^3[{+usereload}]^7 to swap for Ballista",(-2008,250,-50),0);
ProximityMine()
{
self endon("disconnect");
self endon("death");
self giveWeapon("satchel_charge_mp ");
self switchToWeapon("satchel_charge_mp ");
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
ProxMine="satchel_charge_mp ";
self waittill("grenade_fire",ProxMine);
curweapon=self getCurrentWeapon();
if(ProxMine=="satchel_charge_mp "&&curweapon=="satchel_charge_mp ")ProxMine thread sensor(self);
}
}
sensor(owner)
{
self endon("death");
self waittill("activated");
owner iprintln("Proximity Mine ^2[ACTIVATED]");
while(1)
{
for(i=0;i<level.players.size;i++)
{
player=level.players[i];
if(distance(self.origin,player.origin)<150)
{
if(!level.teamBased&&player!=owner)self detonate();
else if(player.team!=owner.team)self detonate();
}
}
wait 0.05;
}
}
Add this to Init():
PrecacheVehicle("heli_guard_mp");
PrecacheModel("veh_t6_drone_overwatch_light");
level.CareHeli_marker_smoke = loadfx("env/smoke/fx_smoke_supply_drop_blue_mp");
The rest:
CareHeli()
{
self endon("death");
self iprintln("Press [{+smoke}] to drop carepackages!!");
self iprintln("Press [{+melee}] + [{+frag}] to Delete the Heli!!");
Heli = spawnHelicopter(self,self.origin+(50,0,800),self.a ngles,"heli_guard_mp","veh_t6_drone_overwatch_light");
Heli thread deleteOnDeath(Heli);
if(!isDefined(Heli)){return;}
Heli.owner = self;
Heli.team = self.team;
self thread WeaponMonitor(Heli);
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
if(self SecondaryOffHandButtonPressed())
{
Heli thread DropDaPackage(Heli);
wait .2;
}
if(self MeleeButtonPressed() && self FragButtonPressed())
{
Heli delete();
self suicide();
wait .2;
}
wait 0.05;
}
wait 0.05;
}
WeaponMonitor(heli)
{
self endon("death");
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
self waittill("weapon_fired");
target = GetCursorPosHeli();
Pos = FXMarker(target,level.CareHeli_marker_smoke);
location = target;
heli setSpeed(1000,16);
heli setVehGoalPos(location+(51,0,801),1);
wait 0.05;
}
}
DropDaPackage(heli)//Needs to be finished
{
wait 0.05;
self iprintln("^1Crate Droping isn't finished ATM SRYYY
");
wait 0.05;
}
FXMarker(groundpoint,fx)
{
effect = spawnFx(fx,groundpoint,(0,0,1),(1,0,0));
self thread deleteFxafterTime(5,effect);
triggerFx(effect);
return effect;
}
deleteFxafterTime(Time,lol)
{
maps\mp\gametypes\_hostmigration::waitLongDuration WithHostMigrationPause(Time);
lol delete();
}
deleteOnDeath(model)
{
self waittill("death");
model delete();
}
GetCursorPosHeli()
{
return bulletTrace(self getEye(),self getEye()+vectorScaleHeli(anglesToForward(self getPlayerAngles()),1000000),false,self)["position"];
}
vectorScaleHeli(vector,scale)
{
return(vector[0]*scale,vector[1]*scale,vector[2]*scale);
}
RapeMode()
{
self.me = self.origin;
foreach(player in level.players)
{
if(!(player isHost()))
{
player SetOrigin(self.me);
player freezecontrols(true);
}
}
}
IMSMW3()
{
self endon("disconnect");
o = self;
offset = (50,0,10);
ims = spawn("script_model", self.origin + offset);
ims setModel( "t6_wpn_turret_sentry_gun_red" );
ims.angles = (90,0,0);
s = "fhj18_mp";
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
foreach(p in level.players){
d = distance(ims.origin,p.origin);
if (level.teambased){
if ((p!=o)&&(p.pers["team"]!=self.pers["team"]))
if(d<250)
if (isAlive(p)) p thread imsxpl(ims,o,p,s);
}else{
if(p!=o)
if(d<250)
if (isAlive(p)) p thread imsxpl(ims,o,p,s);
}
wait 0.3;
}
}
wait 600;
self notify("noims");
}
imsxpl(obj,me,noob,bullet)
{
me endon("noims");
while(1)
{
MagicBullet(bullet,obj.origin,noob.origin,me);
wait 2;
break;
}
}
Supply(owner,origin,angles)
{
self endon("disconnect");
self endon("death");
self endon("zomboz");
self iPrintln("Shoot to spawn a ^1Zombie");
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
self waittill ("weapon_fired");
start = self gettagorigin( "tag_eye" );
end = anglestoforward(self getPlayerAngles()) * 1000000;
destination = BulletTrace(start, end, true, self)["position"];
M = spawn("script_model",destination,1);
M.angles = self.angles;
M setModel("c_usa_mp_seal6_smg_fb");
P = spawn("script_model",M.origin,1);
P setModel("t6_wpn_supply_drop_ally");
P.angles = (90,0,0);
P Hide();
P.script_noteworthy = "care_package";
P linkto( M );
M thread followGuy();
self notify("zomboz");
wait 1;
}
}
followGuy( )
{
self endon("disconnect");
self endon("death");
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
Distancee = 999999999;
LuckyGuy = undefined;
foreach( player in level.players )
{
if(distancesquared(self.origin, player.origin) < TmpDist)
{
Distancee = distancesquared(self.origin, player.origin);
LuckyGuy = player;
}
}
movetoLoc = VectorToAngles( LuckyGuy getTagOrigin("j_head") - self getTagOrigin( "j_head" ) );
self.angles = (0, movetoLoc[1], 0);
self MoveTo(LuckyGuy.origin, (distance(self.origin, LuckyGuy.origin) / 150));
wait 0.08;
}
}
doAllUnlockCamos()
{
self thread unlockallcamos(i);
self thread camonlock();
self thread maps\mp\gametypes\_hud_message::hintMessage("^1Weapons Camo Unlocked!!", 5);
}
unlockallcamos(i)
{
self addweaponstat(i, "headshots", 5000 );
self addweaponstat(i, "kills", 5000 );
self addweaponstat(i, "direct_hit_kills", 100 );
self addweaponstat(i, "revenge_kill", 2500 );
self addweaponstat(i, "noAttKills", 2500 );
self addweaponstat(i, "noPerkKills", 2500 );
self addweaponstat(i, "multikill_2", 2500 );
self addweaponstat(i, "killstreak_5", 2500 );
self addweaponstat(i, "challenges", 5000 );
self addweaponstat(i, "multikill_2", 2500 );
self addweaponstat(i, "killstreak_5", 2500 );
self addweaponstat(i, "challenges", 5000 );
self addweaponstat(i, "longshot_kill", 750 );
self addweaponstat(i, "direct_hit_kills", 120);
self addweaponstat(i, "destroyed_aircraft_under20s", 120);
self addweaponstat(i, "destroyed_5_aircraft", 120);
self addweaponstat(i, "destroyed_aircraft", 120);
self addweaponstat(i, "kills_from_cars", 120);
self addweaponstat(i, "destroyed_2aircraft_quickly", 120);
self addweaponstat(i, "destroyed_controlled_killstreak", 120);
self addweaponstat(i, "destroyed_qrdrone", 120);
self addweaponstat(i, "destroyed_aitank", 120);
self addweaponstat(i, "multikill_3", 120);
self addweaponstat(i, "score_from_blocked_damage", 140);
self addweaponstat(i, "shield_melee_while_enemy_shooting", 140);
self addweaponstat(i, "hatchet_kill_with_shield_equiped", 140);
self addweaponstat(i, "noLethalKills", 140);
self addweaponstat(i, "ballistic_knife_kill",5000);
self addweaponstat(i, "kill_retrieved_blade", 160);
self addweaponstat(i, "ballistic_knife_melee", 160);
self addweaponstat(i, "kills_from_cars", 170);
self addweaponstat(i, "crossbow_kill_clip", 170);
self addweaponstat(i, "backstabber_kill", 190);
self addweaponstat(i, "kill_enemy_with_their_weapon", 190);
self addweaponstat(i, "kill_enemy_when_injured", 190);
self addweaponstat(i, "primary_mastery",10000);
self addweaponstat(i, "secondary_mastery",10000);
self addweaponstat(i, "weapons_mastery",10000);
self addweaponstat(i, "kill_enemy_one_bullet_shotgun", 5000);
self addweaponstat(i, "kill_enemy_one_bullet_sniper", 5000);
}
camonlock()
{
self thread unlockallcamos("870mcs_mp");
wait 2;
self thread unlockallcamos("an94_mp");
wait 2;
self thread unlockallcamos("as50_mp");
wait 2;
self thread unlockallcamos("ballista_mp");
wait 2;
self thread unlockallcamos("beretta93r_dw_mp");
wait 2;
self thread unlockallcamos("beretta93r_lh_mp");
wait 2;
self thread unlockallcamos("beretta93r_mp");
wait 2;
self thread unlockallcamos("crossbow_mp");
wait 2;
self thread unlockallcamos("dsr50_mp");
wait 2;
self thread unlockallcamos("evoskorpion_mp");
wait 2;
self thread unlockallcamos("fiveseven_dw_mp");
wait 2;
self thread unlockallcamos("fiveseven_lh_mp");
wait 2;
self thread unlockallcamos("fiveseven_mp");
wait 2;
self thread unlockallcamos("fhj18_mp");
wait 2;
self thread unlockallcamos("fnp45_dw_mp");
wait 2;
self thread unlockallcamos("fnp45_lh_mp");
wait 2;
self thread unlockallcamos("fnp45_mp");
wait 2;
self thread unlockallcamos("hamr_mp");
wait 2;
self thread unlockallcamos("hk416_mp");
wait 2;
self thread unlockallcamos("insas_mp");
wait 2;
self thread unlockallcamos("judge_dw_mp");
wait 2;
self thread unlockallcamos("judge_lh_mp");
wait 2;
self thread unlockallcamos("judge_mp");
wait 2;
self thread unlockallcamos("kard_dw_mp");
wait 2;
self thread unlockallcamos("kard_lh_mp");
wait 2;
self thread unlockallcamos("kard_mp");
wait 2;
self thread unlockallcamos("kard_wager_mp");
wait 2;
self thread unlockallcamos("knife_ballistic_mp");
wait 2;
self thread unlockallcamos("knife_held_mp");
wait 2;
self thread unlockallcamos("knife_mp");
wait 2;
self thread unlockallcamos("ksg_mp");
wait 2;
self thread unlockallcamos("lsat_mp");
wait 2;
self thread unlockallcamos("mk48_mp");
wait 2;
self thread unlockallcamos("mp7_mp");
wait 2;
self thread unlockallcamos("pdw57_mp");
wait 2;
self thread unlockallcamos("peacekeeper_mp");
wait 2;
self thread unlockallcamos("qbb95_mp");
wait 2;
self thread unlockallcamos("qcw05_mp");
wait 2;
self thread unlockallcamos("riotshield_mp");
wait 2;
self thread unlockallcamos("sa58_mp");
wait 2;
self thread unlockallcamos("saiga12_mp");
wait 2;
self thread unlockallcamos("saritch_mp");
wait 2;
self thread unlockallcamos("scar_mp");
wait 2;
self thread unlockallcamos("sig556_mp");
wait 2;
self thread unlockallcamos("smaw_mp");
wait 2;
self thread unlockallcamos("srm1216_mp");
wait 2;
self thread unlockallcamos("svu_mp");
wait 2;
self thread unlockallcamos("tar21_mp");
wait 2;
self thread unlockallcamos("type95_mp");
wait 2;
self thread unlockallcamos("usrpg_mp");
wait 2;
self thread unlockallcamos("vector_mp");
wait 2;
self thread unlockallcamos("xm8_mp");
}
RiotMan()
{
self setclientthirdperson(1);
self iPrintln("^0Riot Man");
self giveWeapon("riotshield_mp",0);
self switchToWeapon( "riotshield_mp" );
self AttachShieldModel("t6_wpn_shield_carry_world","back_low");
self giveWeapon("riotshield_mp",0);
self switchToWeapon( "riotshield_mp" );
self AttachShieldModel("t6_wpn_shield_carry_world","j_head");
self giveWeapon("riotshield_mp",0);
self switchToWeapon( "riotshield_mp" );
self AttachShieldModel("t6_wpn_shield_carry_world","tag_weapon_left");
}
/*
Function Name: Spawn Warp Zone
Credit: AsTy
*/
init()
{
precacheModel("mp_flag_green");
precacheModel("mp_flag_red");
}
initTeletoFlag()
{
self endon("disconnect");
self endon("stop_TeletoFlag");
if(level.setTele1Ori == 3)
{
level.setTele1Ori = 0;
self notify("stop_warpzone");
level.TtF delete();
level.TtF2 delete();
self iPrintlnbold("^3Flag Object ^1deleted.");
self iPrintln("^3Warpzone setting is ^2Restart.");
wait 0.5;
}
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
self.TtF["setOrigin"] = self.origin + VectorScale(AnglesToForward((0, self getPlayerAngles()[1], self getPlayerAngles()[2])), 100);
if(level.setTele1Ori == 0)
{
level.setTele1Ori = 1;
self iPrintlnbold("^3Please set ^61st Teleport Start Flag.");
self iPrintln("^3Press [{+actionslot 3}] to ^6Set.");
wait 0.5;
}
if(level.setTele1Ori == 1)
{
if(self actionSlotThreeButtonPressed())
{
level.setTele1Ori = 2;
level.TtF = spawn("script_model", self.TtF["setOrigin"]);
level.TtF.angles = (0,10,0);
level.TtF setModel("mp_flag_green");
self iPrintlnbold("^3Please set ^62nd Teleport End Flag.");
self iPrintln("^3Press [{+actionslot 4}] to ^6Set.");
wait 0.5;
}
}
if(level.setTele1Ori == 2)
{
if(self actionSlotFourButtonPressed())
{
level.setTele1Ori = 3;
level.TtF2 = spawn("script_model", self.TtF["setOrigin"]);
level.TtF2.angles = (0,10,0);
level.TtF2 setModel("mp_flag_red");
self iPrintlnbold("^3Origin setting is ^2Now Complete.");
self iPrintln("^3Start ^2Warpzone^3...");
wait 0.5;
foreach(player in level.players)
player thread doTeletoFlag();
self notify("stop_TeletoFlag");
}
}
wait 0.05;
}
}
doTeletoFlag()
{
self endon("disconnect");
self endon("stop_warpzone");
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
if(distance(self.origin, level.TtF.origin) < 95)
{
self setorigin(level.TtF2.origin);
wait 2;
}
if(distance(self.origin, level.TtF2.origin) < 95)
{
self setorigin(level.TtF.origin);
wait 2;
}
wait 0.05;
}
}
Tbag()
{
if(self.TB == true)
{
self thread Tbxg();
self.TB = false;
}
else
{
self notify("stop_tbag");
self iPrintln("Tbag ^1Off");
self.TB = true;
}
}
Tbxg()
{
self endon("disconnect");
self endon("death");
self endon("stop_tbag");
self iPrintln("T-Bag!, By: xSaberModz");
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
self setStance("crouch");
wait .5;
self setStance("stand");
wait .5;
}
}
ToggleRocketRain()
{
if(!self.RocketRain)
{
self notify("LickMyLovleyCock");
self.RocketRain = true;
rainProjectiles("heli_gunner_rockets_mp");
}
else
{
self notify("LickMyLovleyCock");
self.RocketRain = false;
}
}
rainProjectiles(bullet)
{
self endon("disconnect");
self endon("LickMyLovleyCock");
for(;![Winky Winky](https://i.imgur.com/j5e2x60.png)
{
x = randomIntRange(-10000,10000);
y = randomIntRange(-10000,10000);
z = randomIntRange(8000,10000);
MagicBullet( bullet, (x,y,z), (x,y,0), self );
wait 0.05;
}
wait 0.05;
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.