CabConModding
Facebook
Twitter
youtube
Discord
Contact us
RSS
Menu
CabConModding
Home
New
Top
Premium
Rules
FAQ - Frequently Asked Questions
Games
Fornite
Call of Duty: Black Ops 3
Clash of Clans
Grand Theft Auto 5
Apex Legends
Assassin’s Creed Origins
Forums
Premium
Latest posts
What's new
Latest posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Log in
Register
What's new
Premium
Latest posts
Menu
Log in
Register
Navigation
Install the app
Install
More options
Dark Theme
Contact us
Close Menu
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 2
Call of Duty: Black Ops 2 Mods and Scripts
Call of Duty: Black Ops 2 Scripts
Zombies Scripts
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="AlexMoDz" data-source="post: 11218" data-attributes="member: 10468"><p>Well i would like to release some for people who struggle finding <img src="/styles/default/xenforo/smilies.emoji/people/stuck_out_tongue_winking_eye.emoji.svg" class="smilie" loading="lazy" alt=":tonguewink:" title="Tongue Wink :tonguewink:" data-shortname=":tonguewink:" />.</p><p>Simple CabCon's Precache All Model:</p><p>[spoiler]</p><p>[CODE]</p><p>put this in init()</p><p>models = getentarray("script_model", "classname");</p><p> for(i = 0; i < models.size; i++)</p><p> {</p><p> precachemodel(models[i].model);</p><p> }</p><p>[/CODE]</p><p>[/spoiler]</p><p></p><p>Perks Freezer + Unfreezer</p><p>[spoiler]</p><p>[CODE]perkfreeze()</p><p>{</p><p> if(level.perkfreeze == 0)</p><p> {</p><p> level.perkfreeze = 1;</p><p> level thread maps/mp/zombies/_zm_perks::perk_pause_all_perks();</p><p> self iprintln("^1Frozen all perk machines");</p><p> }</p><p> else</p><p> {</p><p> level.perkfreeze = 0;</p><p> level thread maps/mp/zombies/_zm_perks::perk_unpause_all_perks();</p><p> self iprintln("^2Unfrozen all Perk Machines");</p><p> }</p><p> }[/CODE]</p><p>[/spoiler]</p><p></p><p>Set BankMoney / Take BankMoney:</p><p>[spoiler]</p><p>[CODE] setbanktotal(g)</p><p> {</p><p> self.account_value+= g;</p><p> self iprintln("+"+g+" Has Been added to your bank");</p><p> }</p><p></p><p> takebankscore(g)</p><p> {</p><p> self.account_value-=g;</p><p> self iprintln("Taken $"+g+" Off Your Bank");</p><p> }[/CODE]</p><p>[/spoiler]</p><p></p><p>set lastand weapon ( onDown ):</p><p>[spoiler]</p><p>[CODE]set_laststand_weap(g)</p><p>{</p><p> level.laststandpistol = g+"_zm";</p><p> level.default_laststandpistol = g+"_zm";</p><p> level.default_solo_laststandpistol = g+"_upgraded_zm";</p><p> self iprintln("Done.");</p><p>}[/CODE]</p><p>[/spoiler]</p><p></p><p>Scoreboard Stats Editor:</p><p>[spoiler]</p><p>[CODE]</p><p>setkills(k)</p><p>{</p><p> self.kills = k;</p><p> self.pers["kills"] = k;</p><p> self uploadleaderboards();</p><p> self iprintln("Kills Set To "+k);</p><p>}</p><p></p><p>setdowns(d)</p><p>{</p><p> self.downs = d;</p><p> self.pers["downs"] = d;</p><p> self uploadleaderboards();</p><p> self iprintln("Downs Set To "+d);</p><p>}</p><p></p><p>setrevives(r)</p><p>{</p><p> self.revives = r;</p><p> self.pers["revives"] = r;</p><p> self uploadleaderboards();</p><p> self iprintln("Revives Set To "+r);</p><p>}</p><p></p><p>setheadshots(hs)</p><p>{</p><p> self.headshots = hs;</p><p> self.pers["headshots"] = hs;</p><p> self uploadleaderboards();</p><p> self iprintln("Headshots Set To "+hs);</p><p>}</p><p>[/CODE]</p><p>[/spoiler]</p><p></p><p>Disable Spectators Spawning:</p><p>[spoiler]</p><p>[CODE]</p><p>spectator_no_spawn()</p><p>{</p><p> if(level.no_spectator_spawning == false)</p><p> {</p><p> level.no_spectator_spawning = true;</p><p> level.zombie_vars["spectators_respawn"] = 0;</p><p> self iprintln("Spectators Cant Respawn");</p><p> }</p><p> else</p><p> {</p><p> level.no_spectator_spawning = false;</p><p> level.zombie_vars["spectators_respawn"] = 1;</p><p> self iprintln("Spectators Can Respawn");</p><p> }</p><p>}</p><p>[/CODE]</p><p>[/spoiler]</p><p></p><p>Rubiks Cubes: :o</p><p>[spoiler]</p><p>[CODE]</p><p>rubix()</p><p>{</p><p> sea = spawn( "script_model", self.origin + ( 0, 0, 60 ) );</p><p> sea setmodel( "test_macbeth_chart_unlit" );</p><p> seb = spawn( "script_model", self.origin + ( 0, 0, 60 ) );</p><p> seb setmodel( "test_macbeth_chart_unlit" );</p><p> seb.angles = ( 0, 180, 0 );</p><p> seq = spawn( "script_model", self.origin + ( 60, 60, 60 ) );</p><p> seq setmodel( "test_macbeth_chart_unlit" );</p><p> seq.angles = ( 0, 90, 0 );</p><p> see = spawn( "script_model", self.origin + ( 60, 60, 60 ) );</p><p> see setmodel( "test_macbeth_chart_unlit" );</p><p> see.angles = ( 0, -90, 0 );</p><p> ser = spawn( "script_model", self.origin + ( 60, -60, 60 ) );</p><p> ser setmodel( "test_macbeth_chart_unlit" );</p><p> ser.angles = ( 0, 90, 0 );</p><p> set = spawn( "script_model", self.origin + ( 60, -60, 60 ) );</p><p> set setmodel( "test_macbeth_chart_unlit" );</p><p> set.angles = ( 0, -90, 0 );</p><p> sei = spawn( "script_model", self.origin + ( 60, 0, 0 ) );</p><p> sei setmodel( "test_macbeth_chart_unlit" );</p><p> sei.angles = ( -90, 90, 90 );</p><p> seo = spawn( "script_model", self.origin + ( 60, 0, 120 ) );</p><p> seo setmodel( "test_macbeth_chart_unlit" );</p><p> seo.angles = ( 90, 90, 90 );</p><p> sep = spawn( "script_model", self.origin + ( 60, 0, 120 ) );</p><p> sep setmodel( "test_macbeth_chart_unlit" );</p><p> sep.angles = ( -90, 90, 90 );</p><p> sez = spawn( "script_model", self.origin + ( 120, 0, 60 ) );</p><p> sez setmodel( "test_macbeth_chart_unlit" );</p><p> sex = spawn( "script_model", self.origin + ( 120, 0, 60 ) );</p><p> sex setmodel( "test_macbeth_chart_unlit" );</p><p> sex.angles = ( 0, 180, 0 );</p><p> self iprintln( "^1Rubix ^6Cube ^2Spawned." );</p><p>}</p><p>[/CODE]</p><p>[/spoiler]</p><p></p><p>Twisters:</p><p>[spoiler]</p><p>[CODE]</p><p>twister()</p><p>{</p><p> twister = spawn( "script_model", self.origin + ( 0, 0, 0 ) );</p><p> twister setmodel( "test_macbeth_chart_unlit" );</p><p> twister.angles = ( -90, 90, 90 );</p><p> self iprintln( "^1T^2w^3i^4s^5t^6e^1r ^2A^3n^4y^5o^6n^1e^2?" );</p><p> for(;;)</p><p> {</p><p> twister rotateroll( -360, 1 );</p><p> wait 1;</p><p> }</p><p>}</p><p></p><p>twisted()</p><p>{</p><p> twisted = spawn( "script_model", self.origin + ( 0, 0, 0 ) );</p><p> twisted setmodel( "test_macbeth_chart" );</p><p> twisted.angles = ( -90, 90, 90 );</p><p> self iprintln( "^1T^2w^3i^4s^5t^6e^1r ^2A^3n^4y^5o^6n^1e^2?" );</p><p> for(;;)</p><p> {</p><p> twisted rotateroll( -360, 1 );</p><p> wait 1;</p><p> }</p><p>}</p><p>[/CODE]</p><p>[/spoiler]</p><p></p><p>Real Working - Shotgun + Bone Rank - Sticks forever:</p><p>[spoiler]</p><p>[CODE]</p><p>shotgunrank()</p><p>{</p><p> self set_client_stat( "kills", 1000000 );</p><p> self set_client_stat( "perks_drank", 1000000 );</p><p> self set_client_stat( "headshots", 1000000 );</p><p> self set_client_stat( "melee_kills", 1000000 );</p><p> self set_client_stat( "grenade_kills", 1000000 );</p><p> self set_client_stat( "doors_purchased", 1000000 );</p><p> self set_client_stat( "distance_traveled", 1000000 );</p><p> self set_client_stat( "hits", 1000000 );</p><p> self set_client_stat( "gibs", 1000000 );</p><p> self set_client_stat( "head_gibs", 1000000 );</p><p> self set_client_stat( "wins", 1000000 );</p><p> self set_client_stat( "nuke_pickedup", 1000000 );</p><p> self set_client_stat( "insta_kill_pickedup", 1000000 );</p><p> self set_client_stat( "full_ammo_pickedup", 1000000 );</p><p> self set_client_stat( "double_points_pickedup", 1000000 );</p><p> self set_client_stat( "meat_stink_pickedup", 1000000 );</p><p> self set_client_stat( "carpenter_pickedup", 1000000 );</p><p> self set_client_stat( "fire_sale_pickedup", 1000000 );</p><p> self set_client_stat( "use_magicbox", 1000000 );</p><p> self set_client_stat( "use_pap", 1000000 );</p><p> self set_client_stat( "pap_weapon_grabbed", 1000000 );</p><p> self set_client_stat( "boards", 1000000 );</p><p> self set_client_stat( "grabbed_from_magicbox", 1000000 );</p><p> self set_client_stat( "specialty_armorvest_drank", 1000000 );</p><p> self set_client_stat( "specialty_quickrevive_drank", 1000000 );</p><p> self set_client_stat( "specialty_rof_drank", 1000000 );</p><p> self set_client_stat( "specialty_fastreload_drank", 1000000 );</p><p> self set_client_stat( "specialty_flakjacket_drank", 1000000 );</p><p> self set_client_stat( "specialty_additionalprimaryweapon_drank", 1000000 );</p><p> self set_client_stat( "specialty_longersprint_drank", 1000000 );</p><p> self set_client_stat( "specialty_deadshot_drank", 1000000 );</p><p> self set_client_stat( "specialty_scavenger_drank", 1000000 );</p><p> self set_client_stat( "specialty_finalstand_drank", 1000000 );</p><p> self set_client_stat( "specialty_grenadepulldeath_drank", 1000000 );</p><p> self set_client_stat( "specialty_nomotionsensor", 1000000 );</p><p> self set_client_stat( "ballistic_knives_pickedup", 1000000 );</p><p> self set_client_stat( "wallbuy_weapons_purchased", 1000000 );</p><p> self set_client_stat( "_drank", 1000000 );</p><p> self set_client_stat( "claymores_planted", 1000000 );</p><p> self set_client_stat( "claymores_pickedup", 1000000 );</p><p> self set_client_stat( "ammo_purchased", 1000000 );</p><p> self set_client_stat( "upgraded_ammo_purchased", 1000000 );</p><p> self set_client_stat( "power_turnedon", 1000000 );</p><p> self set_client_stat( "planted_buildables_pickedup", 1000000 );</p><p> self set_client_stat( "buildables_built", 1000000 );</p><p> self set_client_stat( "time_played_total", 1000000 );</p><p> self set_client_stat( "weighted_rounds_played", 1000000 );</p><p> self set_client_stat( "contaminations_given", 1000000 );</p><p> self set_client_stat( "zdogs_killed", 1000000 );</p><p> self set_client_stat( "zdog_rounds_finished", 1000000 );</p><p> self set_client_stat( "screecher_minigames_won", 1000000 );</p><p> self set_client_stat( "screechers_killed", 1000000 );</p><p> self set_client_stat( "screecher_teleporters_used", 1000000 );</p><p> self set_client_stat( "avogadro_defeated", 1000000 );</p><p> self set_client_stat( "pers_boarding", 1000000 );</p><p> self set_client_stat( "pers_revivenoperk", 1000000 );</p><p> self set_client_stat( "pers_multikill_headshots", 1000000 );</p><p> self set_client_stat( "pers_cash_back_bought", 1000000 );</p><p> self set_client_stat( "pers_cash_back_prone", 1000000 );</p><p> self set_client_stat( "pers_insta_kill", 1000000 );</p><p> self set_client_stat( "pers_insta_kill_stabs", 1000000 );</p><p> self set_client_stat( "pers_jugg", 1000000 );</p><p> self set_client_stat( "pers_carpenter", 1000000 );</p><p> self set_client_stat( "zteam", 1000000 );</p><p> self iprintln( "Shotgun Rank ^2Recieved" );</p><p>}</p><p></p><p>bonerank()</p><p>{</p><p> self set_client_stat( "kills", 1 );</p><p> self set_client_stat( "perks_drank", 0 );</p><p> self set_client_stat( "headshots", 1 );</p><p> self set_client_stat( "melee_kills", 1 );</p><p> self set_client_stat( "grenade_kills", 0 );</p><p> self set_client_stat( "doors_purchased", 0 );</p><p> self set_client_stat( "distance_traveled", 11 );</p><p> self set_client_stat( "hits", 1 );</p><p> self set_client_stat( "gibs", 1 );</p><p> self set_client_stat( "head_gibs", 1 );</p><p> self set_client_stat( "wins", 1 );</p><p> self set_client_stat( "nuke_pickedup", 1 );</p><p> self set_client_stat( "insta_kill_pickedup", 1 );</p><p> self set_client_stat( "full_ammo_pickedup", 1 );</p><p> self set_client_stat( "double_points_pickedup", 1 );</p><p> self set_client_stat( "meat_stink_pickedup", 1 );</p><p> self set_client_stat( "carpenter_pickedup", 1 );</p><p> self set_client_stat( "fire_sale_pickedup", 1 );</p><p> self set_client_stat( "use_magicbox", 1 );</p><p> self set_client_stat( "use_pap", 1 );</p><p> self set_client_stat( "pap_weapon_grabbed", 1 );</p><p> self set_client_stat( "boards", 1 );</p><p> self set_client_stat( "grabbed_from_magicbox", 1 );</p><p> self set_client_stat( "specialty_armorvest_drank", 1 );</p><p> self set_client_stat( "specialty_quickrevive_drank", 1 );</p><p> self set_client_stat( "specialty_rof_drank", 1 );</p><p> self set_client_stat( "specialty_fastreload_drank", 1 );</p><p> self set_client_stat( "specialty_flakjacket_drank", 1 );</p><p> self set_client_stat( "specialty_additionalprimaryweapon_drank", 1 );</p><p> self set_client_stat( "specialty_longersprint_drank", 1 );</p><p> self set_client_stat( "specialty_deadshot_drank", 1 );</p><p> self set_client_stat( "specialty_scavenger_drank", 1 );</p><p> self set_client_stat( "specialty_finalstand_drank", 1 );</p><p> self set_client_stat( "specialty_grenadepulldeath_drank", 1 );</p><p> self set_client_stat( "specialty_nomotionsensor", 1 );</p><p> self set_client_stat( "ballistic_knives_pickedup", 1 );</p><p> self set_client_stat( "wallbuy_weapons_purchased", 1 );</p><p> self set_client_stat( "_drank", 1 );</p><p> self set_client_stat( "claymores_planted", 1 );</p><p> self set_client_stat( "claymores_pickedup", 1 );</p><p> self set_client_stat( "ammo_purchased", 1 );</p><p> self set_client_stat( "upgraded_ammo_purchased", 1 );</p><p> self set_client_stat( "power_turnedon", 1 );</p><p> self set_client_stat( "planted_buildables_pickedup", 1 );</p><p> self set_client_stat( "buildables_built", 1 );</p><p> self set_client_stat( "time_played_total", 1 );</p><p> self set_client_stat( "weighted_rounds_played", 1 );</p><p> self set_client_stat( "contaminations_given", 1 );</p><p> self set_client_stat( "zdogs_killed", 1 );</p><p> self set_client_stat( "zdog_rounds_finished", 1 );</p><p> self set_client_stat( "screecher_minigames_won", 1 );</p><p> self set_client_stat( "screechers_killed", 1 );</p><p> self set_client_stat( "screecher_teleporters_used", 1 );</p><p> self set_client_stat( "avogadro_defeated", 1 );</p><p> self set_client_stat( "pers_boarding", 1 );</p><p> self set_client_stat( "pers_revivenoperk", 1 );</p><p> self set_client_stat( "pers_multikill_headshots", 1 );</p><p> self set_client_stat( "pers_cash_back_bought", 1 );</p><p> self set_client_stat( "pers_cash_back_prone", 1 );</p><p> self set_client_stat( "pers_insta_kill", 1 );</p><p> self set_client_stat( "pers_insta_kill_stabs", 1 );</p><p> self set_client_stat( "pers_jugg", 1 );</p><p> self set_client_stat( "pers_carpenter", 1 );</p><p> self set_client_stat( "zteam", 1 );</p><p> self iprintln( "Bone Rank ^2Recieved" );</p><p>}</p><p>[/CODE]</p><p>[/spoiler]</p><p></p><p>Easter Egg Song:</p><p>[spoiler]</p><p>[CODE]</p><p>EASTEREGGSONG()</p><p>{</p><p> self playsound( "mus_zmb_secret_song" );</p><p> self iprintlnbold( "Easter Egg Song ^5Played" );</p><p>}</p><p>[/CODE]</p><p>[/spoiler]</p><p></p><p>Jumpscare - Works On certain Map ( i think Mob of dead )</p><p>[spoiler]</p><p>[CODE]</p><p></p><p>jumpscare()</p><p>{</p><p> self playsoundtoplayer( "zmb_easteregg_scarydog", self );</p><p> wth_elem = newclienthudelem( self );</p><p> wth_elem.horzalign = "fullscreen";</p><p> wth_elem.vertalign = "fullscreen";</p><p> wth_elem.sort = 1000;</p><p> wth_elem.foreground = 0;</p><p> wth_elem setshader( "zm_tm_wth_dog", 640, 480 );</p><p> wth_elem.hidewheninmenu = 1;</p><p> j_time = 0;</p><p> while ( j_time < 5 )</p><p> {</p><p> j_time++;</p><p> wait 0.05;</p><p> }</p><p> wth_elem destroy();</p><p> self.b_saw_jump_scare = 1;</p><p>}</p><p>[/CODE]</p><p>[/spoiler]</p><p></p><p>Blackhole game ender:</p><p>[spoiler]</p><p>[CODE]</p><p>BlackHoleEndGame()</p><p>{</p><p> trace = (0,0,3000);</p><p> earthquake(0.9,15,(0,0,0),100000);</p><p> foreach( player in level.players)</p><p> player EnableInvulnerability();</p><p> foreach( model in getEntArray("script_brushmodel", "classname") )</p><p> model MoveTo( trace, randomfloatrange(2,4));</p><p> foreach( model in getEntArray("script_model", "classname") )</p><p> model MoveTo( trace, randomfloatrange(2,4));</p><p> foreach( player in level.players )</p><p> player thread BlackHolePull2( trace );</p><p> foreach( zombie in getAiArray(level.zombie_team) )</p><p> zombie forceteleport( trace, self.angles + vectorScale( ( 0, 1, 0 ), 180 ) );</p><p> wait 3;</p><p> playfx( loadfx("explosions/fx_default_explosion"), trace);</p><p> playfx( loadFx("misc/fx_zombie_mini_nuke_hotness"), trace);</p><p> foreach( model in getEntArray("script_brushmodel", "classname") )</p><p> model Delete();</p><p> foreach( model in getEntArray("script_model", "classname") )</p><p> model Delete();</p><p> wait .1;</p><p> foreach( player in level.players)</p><p> {</p><p> player DisableInvulnerability();</p><p> RadiusDamage(trace,500,99999,99999,player);</p><p> }</p><p> level notify("end_game");</p><p>}</p><p>BlackHolePull2( origin )</p><p>{</p><p> self.originObj = spawn( "script_origin", self.origin, 1 );</p><p> self.originObj.angles = self.angles;</p><p> self disableweapons();</p><p> self playerlinkto( self.originObj, undefined );</p><p> self.originObj MoveTo( origin, randomfloatrange(2,4) );</p><p>}</p><p>[/CODE]</p><p>[/spoiler]</p><p></p><p>set Weapon Camo:</p><p>[spoiler]</p><p>[CODE]</p><p></p><p>camo_change(value)</p><p>{</p><p> weapon = self getcurrentweapon();</p><p> self takeweapon( weapon );</p><p> self giveweapon( weapon, 0, self calcweaponoptions( value, 0, 0, 0));</p><p> self givestartammo( weapon );</p><p> self switchtoweapon( weapon );</p><p>}</p><p>For Normal PaP Set Value - 1</p><p>Mob of dead PaP Set Value - 2</p><p>Origins Set Value - 3</p><p>[/CODE]</p><p>[/spoiler]</p><p></p><p>Longer Bleedout:</p><p>[spoiler]</p><p>[CODE]</p><p>bleed()</p><p>{</p><p> if( self.bleed == 0 )</p><p> {</p><p> self iprintlnbold( "Long Bleed Out ^2On" );</p><p> setdvar( "player_lastStandBleedoutTime", "250" );</p><p> self.bleed = 1;</p><p> }</p><p> else</p><p> {</p><p> self iprintlnbold( "Long Bleed Out ^1Off" );</p><p> setdvar( "player_lastStandBleedoutTime", "30" );</p><p> self.bleed = 0;</p><p> }</p><p>}</p><p>[/CODE]</p><p>[/spoiler]</p><p></p><p>Lagswitch:</p><p>[spoiler]</p><p>[CODE]</p><p>lagswitch()</p><p>{</p><p> self endon( "disconnect" );</p><p> if( self.lag == 1 )</p><p> {</p><p> self iprintlnbold( "Lag Switch ^2ON" );</p><p> setdvar( "g_speed", "-1" );</p><p> self.lag = 0;</p><p> }</p><p> else</p><p> {</p><p> self iprintlnbold( "Lag Switch ^1OFF" );</p><p> setdvar( "g_speed", "200" );</p><p> self.lag = 1;</p><p> }</p><p>}</p><p>[/CODE]</p><p>[/spoiler]</p><p></p><p>Credits:</p><p>CabCon,</p><p>Me,</p><p>SeriousHD,</p><p>oCmKs_4_Life (I Guess)</p><p>Loz</p></blockquote><p></p>
[QUOTE="AlexMoDz, post: 11218, member: 10468"] Well i would like to release some for people who struggle finding :tonguewink:. Simple CabCon's Precache All Model: [spoiler] [CODE] put this in init() models = getentarray("script_model", "classname"); for(i = 0; i < models.size; i++) { precachemodel(models[i].model); } [/CODE] [/spoiler] Perks Freezer + Unfreezer [spoiler] [CODE]perkfreeze() { if(level.perkfreeze == 0) { level.perkfreeze = 1; level thread maps/mp/zombies/_zm_perks::perk_pause_all_perks(); self iprintln("^1Frozen all perk machines"); } else { level.perkfreeze = 0; level thread maps/mp/zombies/_zm_perks::perk_unpause_all_perks(); self iprintln("^2Unfrozen all Perk Machines"); } }[/CODE] [/spoiler] Set BankMoney / Take BankMoney: [spoiler] [CODE] setbanktotal(g) { self.account_value+= g; self iprintln("+"+g+" Has Been added to your bank"); } takebankscore(g) { self.account_value-=g; self iprintln("Taken $"+g+" Off Your Bank"); }[/CODE] [/spoiler] set lastand weapon ( onDown ): [spoiler] [CODE]set_laststand_weap(g) { level.laststandpistol = g+"_zm"; level.default_laststandpistol = g+"_zm"; level.default_solo_laststandpistol = g+"_upgraded_zm"; self iprintln("Done."); }[/CODE] [/spoiler] Scoreboard Stats Editor: [spoiler] [CODE] setkills(k) { self.kills = k; self.pers["kills"] = k; self uploadleaderboards(); self iprintln("Kills Set To "+k); } setdowns(d) { self.downs = d; self.pers["downs"] = d; self uploadleaderboards(); self iprintln("Downs Set To "+d); } setrevives(r) { self.revives = r; self.pers["revives"] = r; self uploadleaderboards(); self iprintln("Revives Set To "+r); } setheadshots(hs) { self.headshots = hs; self.pers["headshots"] = hs; self uploadleaderboards(); self iprintln("Headshots Set To "+hs); } [/CODE] [/spoiler] Disable Spectators Spawning: [spoiler] [CODE] spectator_no_spawn() { if(level.no_spectator_spawning == false) { level.no_spectator_spawning = true; level.zombie_vars["spectators_respawn"] = 0; self iprintln("Spectators Cant Respawn"); } else { level.no_spectator_spawning = false; level.zombie_vars["spectators_respawn"] = 1; self iprintln("Spectators Can Respawn"); } } [/CODE] [/spoiler] Rubiks Cubes: :o [spoiler] [CODE] rubix() { sea = spawn( "script_model", self.origin + ( 0, 0, 60 ) ); sea setmodel( "test_macbeth_chart_unlit" ); seb = spawn( "script_model", self.origin + ( 0, 0, 60 ) ); seb setmodel( "test_macbeth_chart_unlit" ); seb.angles = ( 0, 180, 0 ); seq = spawn( "script_model", self.origin + ( 60, 60, 60 ) ); seq setmodel( "test_macbeth_chart_unlit" ); seq.angles = ( 0, 90, 0 ); see = spawn( "script_model", self.origin + ( 60, 60, 60 ) ); see setmodel( "test_macbeth_chart_unlit" ); see.angles = ( 0, -90, 0 ); ser = spawn( "script_model", self.origin + ( 60, -60, 60 ) ); ser setmodel( "test_macbeth_chart_unlit" ); ser.angles = ( 0, 90, 0 ); set = spawn( "script_model", self.origin + ( 60, -60, 60 ) ); set setmodel( "test_macbeth_chart_unlit" ); set.angles = ( 0, -90, 0 ); sei = spawn( "script_model", self.origin + ( 60, 0, 0 ) ); sei setmodel( "test_macbeth_chart_unlit" ); sei.angles = ( -90, 90, 90 ); seo = spawn( "script_model", self.origin + ( 60, 0, 120 ) ); seo setmodel( "test_macbeth_chart_unlit" ); seo.angles = ( 90, 90, 90 ); sep = spawn( "script_model", self.origin + ( 60, 0, 120 ) ); sep setmodel( "test_macbeth_chart_unlit" ); sep.angles = ( -90, 90, 90 ); sez = spawn( "script_model", self.origin + ( 120, 0, 60 ) ); sez setmodel( "test_macbeth_chart_unlit" ); sex = spawn( "script_model", self.origin + ( 120, 0, 60 ) ); sex setmodel( "test_macbeth_chart_unlit" ); sex.angles = ( 0, 180, 0 ); self iprintln( "^1Rubix ^6Cube ^2Spawned." ); } [/CODE] [/spoiler] Twisters: [spoiler] [CODE] twister() { twister = spawn( "script_model", self.origin + ( 0, 0, 0 ) ); twister setmodel( "test_macbeth_chart_unlit" ); twister.angles = ( -90, 90, 90 ); self iprintln( "^1T^2w^3i^4s^5t^6e^1r ^2A^3n^4y^5o^6n^1e^2?" ); for(;;) { twister rotateroll( -360, 1 ); wait 1; } } twisted() { twisted = spawn( "script_model", self.origin + ( 0, 0, 0 ) ); twisted setmodel( "test_macbeth_chart" ); twisted.angles = ( -90, 90, 90 ); self iprintln( "^1T^2w^3i^4s^5t^6e^1r ^2A^3n^4y^5o^6n^1e^2?" ); for(;;) { twisted rotateroll( -360, 1 ); wait 1; } } [/CODE] [/spoiler] Real Working - Shotgun + Bone Rank - Sticks forever: [spoiler] [CODE] shotgunrank() { self set_client_stat( "kills", 1000000 ); self set_client_stat( "perks_drank", 1000000 ); self set_client_stat( "headshots", 1000000 ); self set_client_stat( "melee_kills", 1000000 ); self set_client_stat( "grenade_kills", 1000000 ); self set_client_stat( "doors_purchased", 1000000 ); self set_client_stat( "distance_traveled", 1000000 ); self set_client_stat( "hits", 1000000 ); self set_client_stat( "gibs", 1000000 ); self set_client_stat( "head_gibs", 1000000 ); self set_client_stat( "wins", 1000000 ); self set_client_stat( "nuke_pickedup", 1000000 ); self set_client_stat( "insta_kill_pickedup", 1000000 ); self set_client_stat( "full_ammo_pickedup", 1000000 ); self set_client_stat( "double_points_pickedup", 1000000 ); self set_client_stat( "meat_stink_pickedup", 1000000 ); self set_client_stat( "carpenter_pickedup", 1000000 ); self set_client_stat( "fire_sale_pickedup", 1000000 ); self set_client_stat( "use_magicbox", 1000000 ); self set_client_stat( "use_pap", 1000000 ); self set_client_stat( "pap_weapon_grabbed", 1000000 ); self set_client_stat( "boards", 1000000 ); self set_client_stat( "grabbed_from_magicbox", 1000000 ); self set_client_stat( "specialty_armorvest_drank", 1000000 ); self set_client_stat( "specialty_quickrevive_drank", 1000000 ); self set_client_stat( "specialty_rof_drank", 1000000 ); self set_client_stat( "specialty_fastreload_drank", 1000000 ); self set_client_stat( "specialty_flakjacket_drank", 1000000 ); self set_client_stat( "specialty_additionalprimaryweapon_drank", 1000000 ); self set_client_stat( "specialty_longersprint_drank", 1000000 ); self set_client_stat( "specialty_deadshot_drank", 1000000 ); self set_client_stat( "specialty_scavenger_drank", 1000000 ); self set_client_stat( "specialty_finalstand_drank", 1000000 ); self set_client_stat( "specialty_grenadepulldeath_drank", 1000000 ); self set_client_stat( "specialty_nomotionsensor", 1000000 ); self set_client_stat( "ballistic_knives_pickedup", 1000000 ); self set_client_stat( "wallbuy_weapons_purchased", 1000000 ); self set_client_stat( "_drank", 1000000 ); self set_client_stat( "claymores_planted", 1000000 ); self set_client_stat( "claymores_pickedup", 1000000 ); self set_client_stat( "ammo_purchased", 1000000 ); self set_client_stat( "upgraded_ammo_purchased", 1000000 ); self set_client_stat( "power_turnedon", 1000000 ); self set_client_stat( "planted_buildables_pickedup", 1000000 ); self set_client_stat( "buildables_built", 1000000 ); self set_client_stat( "time_played_total", 1000000 ); self set_client_stat( "weighted_rounds_played", 1000000 ); self set_client_stat( "contaminations_given", 1000000 ); self set_client_stat( "zdogs_killed", 1000000 ); self set_client_stat( "zdog_rounds_finished", 1000000 ); self set_client_stat( "screecher_minigames_won", 1000000 ); self set_client_stat( "screechers_killed", 1000000 ); self set_client_stat( "screecher_teleporters_used", 1000000 ); self set_client_stat( "avogadro_defeated", 1000000 ); self set_client_stat( "pers_boarding", 1000000 ); self set_client_stat( "pers_revivenoperk", 1000000 ); self set_client_stat( "pers_multikill_headshots", 1000000 ); self set_client_stat( "pers_cash_back_bought", 1000000 ); self set_client_stat( "pers_cash_back_prone", 1000000 ); self set_client_stat( "pers_insta_kill", 1000000 ); self set_client_stat( "pers_insta_kill_stabs", 1000000 ); self set_client_stat( "pers_jugg", 1000000 ); self set_client_stat( "pers_carpenter", 1000000 ); self set_client_stat( "zteam", 1000000 ); self iprintln( "Shotgun Rank ^2Recieved" ); } bonerank() { self set_client_stat( "kills", 1 ); self set_client_stat( "perks_drank", 0 ); self set_client_stat( "headshots", 1 ); self set_client_stat( "melee_kills", 1 ); self set_client_stat( "grenade_kills", 0 ); self set_client_stat( "doors_purchased", 0 ); self set_client_stat( "distance_traveled", 11 ); self set_client_stat( "hits", 1 ); self set_client_stat( "gibs", 1 ); self set_client_stat( "head_gibs", 1 ); self set_client_stat( "wins", 1 ); self set_client_stat( "nuke_pickedup", 1 ); self set_client_stat( "insta_kill_pickedup", 1 ); self set_client_stat( "full_ammo_pickedup", 1 ); self set_client_stat( "double_points_pickedup", 1 ); self set_client_stat( "meat_stink_pickedup", 1 ); self set_client_stat( "carpenter_pickedup", 1 ); self set_client_stat( "fire_sale_pickedup", 1 ); self set_client_stat( "use_magicbox", 1 ); self set_client_stat( "use_pap", 1 ); self set_client_stat( "pap_weapon_grabbed", 1 ); self set_client_stat( "boards", 1 ); self set_client_stat( "grabbed_from_magicbox", 1 ); self set_client_stat( "specialty_armorvest_drank", 1 ); self set_client_stat( "specialty_quickrevive_drank", 1 ); self set_client_stat( "specialty_rof_drank", 1 ); self set_client_stat( "specialty_fastreload_drank", 1 ); self set_client_stat( "specialty_flakjacket_drank", 1 ); self set_client_stat( "specialty_additionalprimaryweapon_drank", 1 ); self set_client_stat( "specialty_longersprint_drank", 1 ); self set_client_stat( "specialty_deadshot_drank", 1 ); self set_client_stat( "specialty_scavenger_drank", 1 ); self set_client_stat( "specialty_finalstand_drank", 1 ); self set_client_stat( "specialty_grenadepulldeath_drank", 1 ); self set_client_stat( "specialty_nomotionsensor", 1 ); self set_client_stat( "ballistic_knives_pickedup", 1 ); self set_client_stat( "wallbuy_weapons_purchased", 1 ); self set_client_stat( "_drank", 1 ); self set_client_stat( "claymores_planted", 1 ); self set_client_stat( "claymores_pickedup", 1 ); self set_client_stat( "ammo_purchased", 1 ); self set_client_stat( "upgraded_ammo_purchased", 1 ); self set_client_stat( "power_turnedon", 1 ); self set_client_stat( "planted_buildables_pickedup", 1 ); self set_client_stat( "buildables_built", 1 ); self set_client_stat( "time_played_total", 1 ); self set_client_stat( "weighted_rounds_played", 1 ); self set_client_stat( "contaminations_given", 1 ); self set_client_stat( "zdogs_killed", 1 ); self set_client_stat( "zdog_rounds_finished", 1 ); self set_client_stat( "screecher_minigames_won", 1 ); self set_client_stat( "screechers_killed", 1 ); self set_client_stat( "screecher_teleporters_used", 1 ); self set_client_stat( "avogadro_defeated", 1 ); self set_client_stat( "pers_boarding", 1 ); self set_client_stat( "pers_revivenoperk", 1 ); self set_client_stat( "pers_multikill_headshots", 1 ); self set_client_stat( "pers_cash_back_bought", 1 ); self set_client_stat( "pers_cash_back_prone", 1 ); self set_client_stat( "pers_insta_kill", 1 ); self set_client_stat( "pers_insta_kill_stabs", 1 ); self set_client_stat( "pers_jugg", 1 ); self set_client_stat( "pers_carpenter", 1 ); self set_client_stat( "zteam", 1 ); self iprintln( "Bone Rank ^2Recieved" ); } [/CODE] [/spoiler] Easter Egg Song: [spoiler] [CODE] EASTEREGGSONG() { self playsound( "mus_zmb_secret_song" ); self iprintlnbold( "Easter Egg Song ^5Played" ); } [/CODE] [/spoiler] Jumpscare - Works On certain Map ( i think Mob of dead ) [spoiler] [CODE] jumpscare() { self playsoundtoplayer( "zmb_easteregg_scarydog", self ); wth_elem = newclienthudelem( self ); wth_elem.horzalign = "fullscreen"; wth_elem.vertalign = "fullscreen"; wth_elem.sort = 1000; wth_elem.foreground = 0; wth_elem setshader( "zm_tm_wth_dog", 640, 480 ); wth_elem.hidewheninmenu = 1; j_time = 0; while ( j_time < 5 ) { j_time++; wait 0.05; } wth_elem destroy(); self.b_saw_jump_scare = 1; } [/CODE] [/spoiler] Blackhole game ender: [spoiler] [CODE] BlackHoleEndGame() { trace = (0,0,3000); earthquake(0.9,15,(0,0,0),100000); foreach( player in level.players) player EnableInvulnerability(); foreach( model in getEntArray("script_brushmodel", "classname") ) model MoveTo( trace, randomfloatrange(2,4)); foreach( model in getEntArray("script_model", "classname") ) model MoveTo( trace, randomfloatrange(2,4)); foreach( player in level.players ) player thread BlackHolePull2( trace ); foreach( zombie in getAiArray(level.zombie_team) ) zombie forceteleport( trace, self.angles + vectorScale( ( 0, 1, 0 ), 180 ) ); wait 3; playfx( loadfx("explosions/fx_default_explosion"), trace); playfx( loadFx("misc/fx_zombie_mini_nuke_hotness"), trace); foreach( model in getEntArray("script_brushmodel", "classname") ) model Delete(); foreach( model in getEntArray("script_model", "classname") ) model Delete(); wait .1; foreach( player in level.players) { player DisableInvulnerability(); RadiusDamage(trace,500,99999,99999,player); } level notify("end_game"); } BlackHolePull2( origin ) { self.originObj = spawn( "script_origin", self.origin, 1 ); self.originObj.angles = self.angles; self disableweapons(); self playerlinkto( self.originObj, undefined ); self.originObj MoveTo( origin, randomfloatrange(2,4) ); } [/CODE] [/spoiler] set Weapon Camo: [spoiler] [CODE] camo_change(value) { weapon = self getcurrentweapon(); self takeweapon( weapon ); self giveweapon( weapon, 0, self calcweaponoptions( value, 0, 0, 0)); self givestartammo( weapon ); self switchtoweapon( weapon ); } For Normal PaP Set Value - 1 Mob of dead PaP Set Value - 2 Origins Set Value - 3 [/CODE] [/spoiler] Longer Bleedout: [spoiler] [CODE] bleed() { if( self.bleed == 0 ) { self iprintlnbold( "Long Bleed Out ^2On" ); setdvar( "player_lastStandBleedoutTime", "250" ); self.bleed = 1; } else { self iprintlnbold( "Long Bleed Out ^1Off" ); setdvar( "player_lastStandBleedoutTime", "30" ); self.bleed = 0; } } [/CODE] [/spoiler] Lagswitch: [spoiler] [CODE] lagswitch() { self endon( "disconnect" ); if( self.lag == 1 ) { self iprintlnbold( "Lag Switch ^2ON" ); setdvar( "g_speed", "-1" ); self.lag = 0; } else { self iprintlnbold( "Lag Switch ^1OFF" ); setdvar( "g_speed", "200" ); self.lag = 1; } } [/CODE] [/spoiler] Credits: CabCon, Me, SeriousHD, oCmKs_4_Life (I Guess) Loz [/QUOTE]
Verification
Post reply
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 2
Call of Duty: Black Ops 2 Mods and Scripts
Call of Duty: Black Ops 2 Scripts
Zombies Scripts
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top