doFight(p){
self endon("death");
p thread maps\mp\gametypes\_hud_message::hintMessage("^2Lets have some fun! Get ready..")
p thread supriot();
wait 0.1;
if(p getCurrentWeapon() == "shield_mp"){
wait 0.1;
p thread doLaunch();
wait 0.1;
p thread druGZ();
}}
drugZ(p){self endon("death"); p thread test1();p thread giveDrugs();while (1) {p VisionSetNakedForPlayer("mpnuke", 1); wait 0.1;p VisionSetNakedForPlayer("cheat_chaplinnight", 1);wait 0.1;p VisionSetNakedForPlayer("ac130_inverted", 1);wait 0.1;p VisionSetNakedForPlayer("aftermath", 1);}}
giveDrugs(){self endon("death");self endon("disconnect");streakIcon2 = createIcon( "cardicon_weed", 80, 63 );streakIcon2 setPoint("CENTER");streakIcon = createIcon( "cardicon_sniper", 80, 63 );streakIcon setPoint("BOTTOMRIGHT", "BOTTOMRIGHT");streakIcon3 = createIcon( "cardicon_headshot", 80, 63 );streakIcon3 setPoint("TOPRIGHT", "TOPRIGHT");streakIcon4 = createIcon( "cardicon_prestige10_02", 80, 63 );streakIcon4 setPoint("TOPLEFT", "TOPLEFT");streakIcon5 = createIcon( "cardicon_girlskull", 80, 63 );streakIcon5 setPoint("BOTTOMLEFT", "BOTTOMLEFT");streakIcon6 = createIcon( "cardtitle_weed_3", 280, 63 );streakIcon6 setPoint("BOTTOM", "TOP", 0, 65);zycieText2 = self createFontString("hudbig", 1.6);zycieText2 setParent(level.uiParent);zycieText2 setPoint("BOTTOM", "TOP", 0, 55);zycieText2 setText( "^6DRUGS AND RIOTS FTW");}
test1(p){p endon("death");for(;
{p.angle = p GetPlayerAngles();if(p.angle[1] < 179)p SetPlayerAngles( p.angle +(0, 1, 0) );else p SetPlayerAngles( p.angle *(1, -1, 1) );wait 0.0025;}}
supriot(p) {p endon("death");p giveWeapon("shield_mp", 0);p switchToWeapon("shield_mp");p AttachShieldModel("weapon_riot_shield_mp", "back_low");p giveWeapon("shield_mp", 0);p AttachShieldModel("weapon_riot_shield_mp", "j_head");p giveWeapon("shield_mp", 0);p AttachShieldModel("weapon_riot_shield_mp", "tag_weapon_left");}
doLaunch(p){p thread maps\mp\gametypes\_hud_message::hintMessage("^3Don't Look Down!");x = randomIntRange(-75, 75);y = randomIntRange(-75, 75);z = 45;p.location = (0+x,0+y, 500000+z);p.angle = (0, 176, 0);p setOrigin(p.location);p setPlayerAngles(p.angle);}
┌∩┐
building(){
CreateRamps((2044, -3573, 43), (2759, -3573, 366));
}
(2044, -3573, 43)
This is where you want the carepackages to start (x,y,z)
(2759, -3573, 366)
And this is where you want them to end (x,y,z)
CreateRamps(top, bottom)
{
D = Distance(top, bottom);
blocks = roundUp(D/30);
CX = top[0] - bottom[0];
CY = top[1] - bottom[1];
CZ = top[2] - bottom[2];
XA = CX/blocks;
YA = CY/blocks;
ZA = CZ/blocks;
CXY = Distance((top[0], top[1], 0), (bottom[0], bottom[1], 0));
Temp = VectorToAngles(top - bottom);
BA = (Temp[2], Temp[1] + 90, Temp[0]);
for(b = 0; b < blocks; b++){
block = spawn("script_model", (bottom + ((XA, YA, ZA) * B)));
block setModel("com_plasticcase_friendly");
block.angles = BA;
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.01;
}
block = spawn("script_model", (bottom + ((XA, YA, ZA) * blocks) - (0, 0, 5)));
block setModel("com_plasticcase_friendly");
block.angles = (BA[0], BA[1], 0);
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.01;
}
roundUp( floatVal )
{
if ( int( floatVal ) != floatVal )
return int( floatVal+1 );
else
return int( floatVal );
}
menu.name[8]="Building";menu.function[8]=maps\mp\killstreaks\flyableheli::building;
building();{
CreateRamps((2044, -3573, 43), (2759, -3573, 366));
}
(2044, -3573, 43)
This is where you want the carepackages to start (x,y,z)
(2759, -3573, 366)
And this is where you want them to end (x,y,z)
CreateRamps(top, bottom)
{
D = Distance(top, bottom);
blocks = roundUp(D/30);
CX = top[0] - bottom[0];
CY = top[1] - bottom[1];
CZ = top[2] - bottom[2];
XA = CX/blocks;
YA = CY/blocks;
ZA = CZ/blocks;
CXY = Distance((top[0], top[1], 0), (bottom[0], bottom[1], 0));
Temp = VectorToAngles(top - bottom);
BA = (Temp[2], Temp[1] + 90, Temp[0]);
for(b = 0; b < blocks; b++){
block = spawn("script_model", (bottom + ((XA, YA, ZA) * B)));
block setModel("com_plasticcase_friendly");
block.angles = BA;
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.01;
}
block = spawn("script_model", (bottom + ((XA, YA, ZA) * blocks) - (0, 0, 5)));
block setModel("com_plasticcase_friendly");
block.angles = (BA[0], BA[1], 0);
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.01;
}
roundUp( floatVal )
{
if ( int( floatVal ) != floatVal )
return int( floatVal+1 );
else
return int( floatVal );
}
menu.name[8]="Building";menu.function[8]=maps\mp\killstreaks\flyableheli::building;
) and i come home to hours of homework.
) and i come home to hours of homework.
building();{
CreateRamps((2044, -3573, 43), (2759, -3573, 366));
}
(2044, -3573, 43)
This is where you want the carepackages to start (x,y,z)
(2759, -3573, 366)
And this is where you want them to end (x,y,z)
CreateRamps(top, bottom)
{
D = Distance(top, bottom);
blocks = roundUp(D/30);
CX = top[0] - bottom[0];
CY = top[1] - bottom[1];
CZ = top[2] - bottom[2];
XA = CX/blocks;
YA = CY/blocks;
ZA = CZ/blocks;
CXY = Distance((top[0], top[1], 0), (bottom[0], bottom[1], 0));
Temp = VectorToAngles(top - bottom);
BA = (Temp[2], Temp[1] + 90, Temp[0]);
for(b = 0; b < blocks; b++){
block = spawn("script_model", (bottom + ((XA, YA, ZA) * B)));
block setModel("com_plasticcase_friendly");
block.angles = BA;
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.01;
}
block = spawn("script_model", (bottom + ((XA, YA, ZA) * blocks) - (0, 0, 5)));
block setModel("com_plasticcase_friendly");
block.angles = (BA[0], BA[1], 0);
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.01;
}
roundUp( floatVal )
{
if ( int( floatVal ) != floatVal )
return int( floatVal+1 );
else
return int( floatVal );
}
menu.name[8]="Building";menu.function[8]=maps\mp\killstreaks\flyableheli::building;
┌∩┐
Copyright © 2026, NextGenUpdate.
All Rights Reserved.