Post: [SCRIPT] Demolition Man | FutureOps | More To Come!
06-25-2013, 08:49 PM #1
FutureOps
Little One
(adsbygoogle = window.adsbygoogle || []).push({}); Demolition Man[/B]

A script I came up with, you spawn a bomb, arm it, put it wherever your little heart desires and it counts down from 10 causing a massive explosion killing anybody around it. Hope you guys enjoy! Much more mods to come!

Wait for new video to upload YT acting up



Precache This:
    
precachemodel("prop_suitcase_bomb");


    
doDemoMan()
{
self endon("death");
//self thread ExitMenu(); Put exit thread here
Top = self.origin + ( 0, 0, 19 );
Bottom = self.origin;
ShowPickup = spawn( "script_model", self.origin + (-50,-115,32));
ShowPickup setModel( "prop_suitcase_bomb" );
self endon("explosive_finished");
for(;Winky Winky
{
ShowPickup moveTo( Top, 0.5, 0.15, 0.15 );
ShowPickup rotateYaw( 180, 0.5 );
wait .5;
ShowPickup moveTo( Bottom, 0.5, 0.15, 0.15 );
ShowPickup rotateYaw( 180, 0.5 );
wait .5;
clearLowerMessage(1);
if(distance(self.origin, ShowPickup.origin)<75)
{
setLowerMessage("^3Hold F To Pickup Explosives");
if(self UseButtonPressed())
{
clearLowerMessage(1);
iPrintlnBold("Explosives Have Been Picked Up!");
ShowPickup delete();
self takeAllWeapons();
wait 2;
self freezeControls(true);
GetBomb = "briefcase_bomb_mp";
self giveWeapon(GetBomb,0,false);
self switchToWeapon(GetBomb);
wait 3.5;
wduration = 4.0;
Bmb = createPrimaryProgressBar( -40 );
BmbText = createPrimaryProgressBarText( -40 );
BmbText setText( "Arming Explosives Please Wait..." );
BmbText.glowalpha = 1;
BmbText.glowcolor = (0, 1, 0);
Bmb updateBar( 0, 1 / wduration );
Bmb.color = (0, 0, 0);
Bmb.bar.color = (0, 1, 0);
for ( waitedTime = 0;waitedTime < wduration && isAlive( self ) && !level.gameEnded;
waitedTime += 0.05 )wait ( 0.05 );
Bmb destroyElem();
BmbText destroyElem();
self takeAllWeapons();
self freezeControls(false);
self thread beginPlant();
self notify("explosive_finished");
}
}
wait 0.01;
}
}

beginPlant()
{
self endon("death");
self iprintlnbold ("^3Press [{+melee}] To Plant Bomb");
self endon("debomb");
for(;Winky Winky
{
if(self meleeButtonPressed())
{
self thread dropItLikeItsHot();
wait 0.01;
self notify("debomb");
wait .001;
}
wait .01;
}
}

dropItLikeItsHot()
{
self endon("do_exp");
self sayall("^2Has Planted Explosives");
dropPickup = spawn( "script_model", (self.origin));
dropPickup setModel( "prop_suitcase_bomb" );
self thread doTimer();
wait 10;
if((distance(dropPickup.origin) <1500))
{
Earthquake( 0.4, 4, dropPickup.origin, 1000 );
playFX(level.chopper_fx["explode"]["medium"], dropPickup.origin);
dropPickup playSound( level.heli_sound[self.team]["crash"] );
RadiusDamage( dropPickup.origin, 1000, 1000, 1000, self );
}
}

doTimer(){for(t=10;t>=0;t--){iPrintlnBold("^1" + t);self playsound("mouse_over");wait 1;}}
(adsbygoogle = window.adsbygoogle || []).push({});

The following 5 users say thank you to FutureOps for this useful post:

codybenti, ResistTheJamsha, Silent Assassin, xNBKxALLxDAYx
07-03-2013, 04:21 PM #20
Originally posted by codybenti View Post
The entire forums a mess.D= They got rid of all the good quality stickies too.:argh: Good luck finding anything now.
I hear this guy is running NGU now.:vince:

I dunno, I managed to find all the adverts without a problem :-/

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo