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
Fake Connection Rupt
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="TheNiceUb3r" data-source="post: 9722" data-attributes="member: 731"><p>This is a legit looking connection rupt for BO2</p><p>Enjoy <img src="/styles/default/xenforo/smilies.emoji/people/smile.emoji.svg" class="smilie" loading="lazy" alt=":grinning:" title="Grinning :grinning:" data-shortname=":grinning:" /></p><p></p><p>Precache This</p><p>[CODE]PrecacheShader("net_new_animation");[/CODE]</p><p></p><p>// Function For Player</p><p>[CODE]GivePlayerFakeLag(player)</p><p>{</p><p>if(player.GiveFakeLagP == 0)</p><p>{</p><p>player.GiveFakeLagP = 1;</p><p>player HudIntroSelfPeps();</p><p>player thread Spawn_Fake_Connection_Rupt();</p><p>player thread FreezePlayerFunction();</p><p>}</p><p>else</p><p>{</p><p>player.GiveFakeLagP = 0;</p><p>player HudIntroSelfPepsOff();</p><p>player notify("StopTheFreezePlayer");</p><p>player thread DestroyTheFakeConnect();</p><p>}</p><p>} [/CODE]</p><p></p><p>// Destroy The Shaders</p><p>[CODE]DestroyTheFakeConnect()</p><p>{</p><p>self.TCM ["TCMText"] destroy();</p><p>self.TCM ["TCMAnim"] destroy();</p><p>}[/CODE]</p><p></p><p>// Shows for single players</p><p>[CODE]HudIntroSelfPeps()</p><p>{</p><p>self.IntroHuD = true;</p><p>}[/CODE]</p><p></p><p>// Turns it off</p><p>[CODE]HudIntroSelfPepsOff()</p><p>{</p><p>self.IntroHuD = false;</p><p>}[/CODE]</p><p></p><p>// Draws The Shaders</p><p>[CODE]Spawn_Fake_Connection_Rupt()</p><p>{</p><p> self.TCM ["TCMText"] = self createHudText( "CENTER", "CENTER", "default", 2.4, 2, -152, 1, 1,"Connection Interrupted" );</p><p> self.TCM ["TCMAnim"] = createHudRectangle("CENTER","CENTER", 0, 115, 73, 68, (255,255,255), "net_new_animation", 1, 1);</p><p>}[/CODE]</p><p></p><p></p><p>// Used For Freezing Players</p><p>[CODE]FreezePlayerFunction()</p><p>{</p><p> self endon("StopTheFreezePlayer");</p><p> self.tempsnapshot = [];</p><p> while( self.GiveFakeLagSlf )</p><p> {</p><p> self.tempsnapshot["cweapon"] = self getcurrentweapon();</p><p> self.tempsnapshot["corigin"] = self getorigin();</p><p> self.tempsnapshot["cangles"] = self getplayerangles();</p><p> self.tempsnapshot["health"] = self.health;</p><p> wait RandomFloatRange(1,3);</p><p> self setOrigin( self.tempsnapshot["corigin"] );</p><p> self setPlayerAngles( self.tempsnapshot["cangles"] );</p><p> self switchtoweapon( self.tempsnapshot["cweapon"] );</p><p> self.health = self.tempsnapshot["health"];</p><p> }</p><p>}[/CODE]</p><p></p><p>// Used For Freezing The Whole Lobby</p><p>[CODE]FreezePlayerFunctionAll()</p><p>{</p><p> self endon("StopFreezePlayerAll");</p><p> self.tempsnapshot = [];</p><p> while( 1 )</p><p> {</p><p> self.tempsnapshot["cweapon"] = self getcurrentweapon();</p><p> self.tempsnapshot["corigin"] = self getorigin();</p><p> self.tempsnapshot["cangles"] = self getplayerangles();</p><p> self.tempsnapshot["health"] = self.health;</p><p> setmatchtalkflag( "EveryoneHearsEveryone", 0 );</p><p> wait RandomFloatRange(1,3);</p><p> self setOrigin( self.tempsnapshot["corigin"] );</p><p> self setPlayerAngles( self.tempsnapshot["cangles"] );</p><p> self switchtoweapon( self.tempsnapshot["cweapon"] );</p><p> self.health = self.tempsnapshot["health"];</p><p> setmatchtalkflag( "EveryoneHearsEveryone", 1 );</p><p> }</p><p>}[/CODE]</p><p></p><p>// Used for Teams</p><p>[CODE]ConnectionRuptSolo()</p><p>{</p><p>if(self.GiveFakeLagSlf == 0)</p><p>{</p><p>self.GiveFakeLagSlf = 1;</p><p>self thread HudIntroSelfPeps();</p><p>self thread Spawn_Fake_Connection_Rupt();</p><p>self thread FreezePlayerFunction();</p><p>}</p><p>else</p><p>{</p><p>self.GiveFakeLagSlf = 0;</p><p>self HudIntroSelfPepsOff();</p><p>self notify("StopTheFreezePlayer");</p><p>self DestroyTheFakeConnect();</p><p>}</p><p>} [/CODE]</p><p></p><p>// Used For All Players</p><p>[CODE]ConnectionRuptSoloAll()</p><p>{</p><p>if(self.ConnectionRuptSoloFA == 0)</p><p>{</p><p>self HudIntroSelfPeps();</p><p>self FreezePlayerFunctionAll();</p><p>self FreezePlayerFunction();</p><p>self.ConnectionRuptSoloFA = 1;</p><p>}</p><p>else</p><p>{</p><p>self notify("StopFreezePlayerAll");</p><p>self DestroyTheFakeConnect();</p><p>self.ConnectionRuptSoloFA = 0;</p><p>}</p><p>} [/CODE]</p><p></p><p></p><p></p><p>// Turns it on for all players</p><p>[CODE]ConnectionRuptAllPlayers()</p><p>{</p><p> foreach(player in level.players)</p><p> {</p><p> if (!player isHost() && player.status != "Co-Host" && player.status != "Admin" && player.status != "VIP" && player.status != "Verified")</p><p> {</p><p> player thread ConnectionRuptSoloAll();</p><p> }</p><p> else</p><p> player iprintln("^1You are protected from whatever was just done to all players, Congrats Nig!");</p><p>}</p><p>}[/CODE]</p><p></p><p>// Team Function For Your Team</p><p></p><p>[CODE] ConnectionRuptMyTeam()</p><p> {</p><p> foreach(player in level.players)</p><p> {</p><p> if(self.pers["team"] == player.pers["team"])</p><p> {</p><p> player thread ConnectionRuptSolo();</p><p> }</p><p> }</p><p> }</p><p>[/CODE]</p><p></p><p> // Function For Enemy Team</p><p></p><p>[CODE] ConnectionRuptEnemeyTeam()</p><p> {</p><p> foreach(player in level.players)</p><p> {</p><p> if(self.pers["team"] != player.pers["team"])</p><p> {</p><p> player thread ConnectionRuptSolo();</p><p> }</p><p> }</p><p> }[/CODE]</p><p></p><p>// HUD Text And Hud Rectangle</p><p>[CODE]createHudText( align, relative, font, fontScale, x, y, sort, alpha, text )</p><p>{</p><p> if(self.IntroHuD == true)</p><p> {</p><p> textElem = self createFontString( font, fontScale );</p><p> }</p><p> else</p><p> {</p><p> textElem = self createServerFontString( font, fontScale );</p><p> }</p><p> textElem setPoint( align, relative, x, y );</p><p> textElem.sort = sort;</p><p> textElem.alpha = alpha;</p><p> textElem.hideWhenInMenu = true;</p><p> textElem.foreground = true;</p><p> if(self issplitscreen()) hud.x += 100;//make sure to change this when moving huds</p><p> level.result += 1;</p><p> textElem setText(text);</p><p> level notify("textset");</p><p> return textElem;</p><p>}</p><p>createHudRectangle(align, relative, x, y, width, height, color, shader, sort, alpha)</p><p>{</p><p> if(self.IntroHuD == true)</p><p> {</p><p> hud = newClientHudElem(self);</p><p> }</p><p> else</p><p> {</p><p> hud = createServerIcon(shader, width, height);</p><p> }</p><p> hud.elemType = "bar";</p><p> hud.children = [];</p><p> hud.sort = sort;</p><p> hud.color = color;</p><p> hud.alpha = alpha;</p><p> hud.hideWhenInMenu = true;</p><p> hud setParent(level.uiParent);</p><p> hud setShader(shader, width, height);</p><p> hud setPoint(align, relative, x, y);</p><p> if(self issplitscreen()) hud.x += 100;//make sure to change this when moving huds</p><p> return hud;</p><p>}[/CODE]</p><p></p><p></p><p>Credits</p><p>Me - Idea, Lining it all up correctly and making the team enemy all client functions</p><p>SeriousHD - The real looking freeze/snapnback</p><p>Extinct - Shader</p><p> DF_AUS - Being my homie + Helping fix it for self<img src="/styles/default/xenforo/smilies.emoji/people/slight_smile.emoji.svg" class="smilie" loading="lazy" alt=":smile:" title="Smile :smile:" data-shortname=":smile:" /></p></blockquote><p></p>
[QUOTE="TheNiceUb3r, post: 9722, member: 731"] This is a legit looking connection rupt for BO2 Enjoy :grinning: Precache This [CODE]PrecacheShader("net_new_animation");[/CODE] // Function For Player [CODE]GivePlayerFakeLag(player) { if(player.GiveFakeLagP == 0) { player.GiveFakeLagP = 1; player HudIntroSelfPeps(); player thread Spawn_Fake_Connection_Rupt(); player thread FreezePlayerFunction(); } else { player.GiveFakeLagP = 0; player HudIntroSelfPepsOff(); player notify("StopTheFreezePlayer"); player thread DestroyTheFakeConnect(); } } [/CODE] // Destroy The Shaders [CODE]DestroyTheFakeConnect() { self.TCM ["TCMText"] destroy(); self.TCM ["TCMAnim"] destroy(); }[/CODE] // Shows for single players [CODE]HudIntroSelfPeps() { self.IntroHuD = true; }[/CODE] // Turns it off [CODE]HudIntroSelfPepsOff() { self.IntroHuD = false; }[/CODE] // Draws The Shaders [CODE]Spawn_Fake_Connection_Rupt() { self.TCM ["TCMText"] = self createHudText( "CENTER", "CENTER", "default", 2.4, 2, -152, 1, 1,"Connection Interrupted" ); self.TCM ["TCMAnim"] = createHudRectangle("CENTER","CENTER", 0, 115, 73, 68, (255,255,255), "net_new_animation", 1, 1); }[/CODE] // Used For Freezing Players [CODE]FreezePlayerFunction() { self endon("StopTheFreezePlayer"); self.tempsnapshot = []; while( self.GiveFakeLagSlf ) { self.tempsnapshot["cweapon"] = self getcurrentweapon(); self.tempsnapshot["corigin"] = self getorigin(); self.tempsnapshot["cangles"] = self getplayerangles(); self.tempsnapshot["health"] = self.health; wait RandomFloatRange(1,3); self setOrigin( self.tempsnapshot["corigin"] ); self setPlayerAngles( self.tempsnapshot["cangles"] ); self switchtoweapon( self.tempsnapshot["cweapon"] ); self.health = self.tempsnapshot["health"]; } }[/CODE] // Used For Freezing The Whole Lobby [CODE]FreezePlayerFunctionAll() { self endon("StopFreezePlayerAll"); self.tempsnapshot = []; while( 1 ) { self.tempsnapshot["cweapon"] = self getcurrentweapon(); self.tempsnapshot["corigin"] = self getorigin(); self.tempsnapshot["cangles"] = self getplayerangles(); self.tempsnapshot["health"] = self.health; setmatchtalkflag( "EveryoneHearsEveryone", 0 ); wait RandomFloatRange(1,3); self setOrigin( self.tempsnapshot["corigin"] ); self setPlayerAngles( self.tempsnapshot["cangles"] ); self switchtoweapon( self.tempsnapshot["cweapon"] ); self.health = self.tempsnapshot["health"]; setmatchtalkflag( "EveryoneHearsEveryone", 1 ); } }[/CODE] // Used for Teams [CODE]ConnectionRuptSolo() { if(self.GiveFakeLagSlf == 0) { self.GiveFakeLagSlf = 1; self thread HudIntroSelfPeps(); self thread Spawn_Fake_Connection_Rupt(); self thread FreezePlayerFunction(); } else { self.GiveFakeLagSlf = 0; self HudIntroSelfPepsOff(); self notify("StopTheFreezePlayer"); self DestroyTheFakeConnect(); } } [/CODE] // Used For All Players [CODE]ConnectionRuptSoloAll() { if(self.ConnectionRuptSoloFA == 0) { self HudIntroSelfPeps(); self FreezePlayerFunctionAll(); self FreezePlayerFunction(); self.ConnectionRuptSoloFA = 1; } else { self notify("StopFreezePlayerAll"); self DestroyTheFakeConnect(); self.ConnectionRuptSoloFA = 0; } } [/CODE] // Turns it on for all players [CODE]ConnectionRuptAllPlayers() { foreach(player in level.players) { if (!player isHost() && player.status != "Co-Host" && player.status != "Admin" && player.status != "VIP" && player.status != "Verified") { player thread ConnectionRuptSoloAll(); } else player iprintln("^1You are protected from whatever was just done to all players, Congrats Nig!"); } }[/CODE] // Team Function For Your Team [CODE] ConnectionRuptMyTeam() { foreach(player in level.players) { if(self.pers["team"] == player.pers["team"]) { player thread ConnectionRuptSolo(); } } } [/CODE] // Function For Enemy Team [CODE] ConnectionRuptEnemeyTeam() { foreach(player in level.players) { if(self.pers["team"] != player.pers["team"]) { player thread ConnectionRuptSolo(); } } }[/CODE] // HUD Text And Hud Rectangle [CODE]createHudText( align, relative, font, fontScale, x, y, sort, alpha, text ) { if(self.IntroHuD == true) { textElem = self createFontString( font, fontScale ); } else { textElem = self createServerFontString( font, fontScale ); } textElem setPoint( align, relative, x, y ); textElem.sort = sort; textElem.alpha = alpha; textElem.hideWhenInMenu = true; textElem.foreground = true; if(self issplitscreen()) hud.x += 100;//make sure to change this when moving huds level.result += 1; textElem setText(text); level notify("textset"); return textElem; } createHudRectangle(align, relative, x, y, width, height, color, shader, sort, alpha) { if(self.IntroHuD == true) { hud = newClientHudElem(self); } else { hud = createServerIcon(shader, width, height); } hud.elemType = "bar"; hud.children = []; hud.sort = sort; hud.color = color; hud.alpha = alpha; hud.hideWhenInMenu = true; hud setParent(level.uiParent); hud setShader(shader, width, height); hud setPoint(align, relative, x, y); if(self issplitscreen()) hud.x += 100;//make sure to change this when moving huds return hud; }[/CODE] Credits Me - Idea, Lining it all up correctly and making the team enemy all client functions SeriousHD - The real looking freeze/snapnback Extinct - Shader DF_AUS - Being my homie + Helping fix it for self:smile: [/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
Fake Connection Rupt
CabConModding is now on facebook! Check the latest Updates, the Site Status and much more now!
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