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 3
Call of Duty: Black Ops 3 Mods and Scripts
Call of Duty: Black Ops 3 Scripts
Call of Duty: Black Ops 3 Scripts Question
Call of Duty: Black Ops 3 Answered Questions
Need help with code
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="TwinightCow" data-source="post: 15466" data-attributes="member: 5496"><p>[CODE]function InitAimbottrick()</p><p>{</p><p>if(self.Aim == false)</p><p>{</p><p>self.Aim = true;</p><p>self iPrintLn("Trickshot Aimbot ^5ON");</p><p>self thread aimBottrick();</p><p>}</p><p>else</p><p>{</p><p>self.Aim = false;</p><p>self iPrintLn("Trickshot Aimbot ^1OFF");</p><p>self notify("stop_aimbot");</p><p>}</p><p>}</p><p></p><p></p><p></p><p>function aimBottrick()</p><p>{</p><p>self endon( "disconnect" );</p><p>self endon( "death" );</p><p>self endon("stop_aimbot");</p><p></p><p>for(;;)</p><p>{</p><p>aimAt = undefined;</p><p>foreach(player in level.players)</p><p>{</p><p>if((player == self) || (!isAlive(player)) || (level.teamBased && self.pers["team"] == player.pers["team"]))</p><p>continue;</p><p>if(isDefined(aimAt))</p><p>{</p><p>if(closer(self getTagOrigin("j_head"), player getTagOrigin("j_head"), aimAt getTagOrigin("j_head")))</p><p>aimAt = player;</p><p>}</p><p>else aimAt = player;</p><p>}</p><p>if(isDefined(aimAt))</p><p>{</p><p>if(self attackbuttonpressed())</p><p>{</p><p></p><p></p><p>aimAt thread [[level.callbackPlayerDamage]]( self, self, 100, 0, "MOD_HEAD_SHOT", self getCurrentWeapon(), (0,0,0), (0,0,0), "j_head", 0, 0 );</p><p>wait 1.01;</p><p></p><p>}</p><p>}</p><p>wait 0.01;</p><p>}</p><p>}[/CODE]</p><p></p><p>(Trickshot aimbot ported from bo2) It works but it only gets hitmarkers, Im assuming its because level.callbackPlayerDamage isnt working. If anyone could help fix it, it would be greatly appreciated.</p></blockquote><p></p>
[QUOTE="TwinightCow, post: 15466, member: 5496"] [CODE]function InitAimbottrick() { if(self.Aim == false) { self.Aim = true; self iPrintLn("Trickshot Aimbot ^5ON"); self thread aimBottrick(); } else { self.Aim = false; self iPrintLn("Trickshot Aimbot ^1OFF"); self notify("stop_aimbot"); } } function aimBottrick() { self endon( "disconnect" ); self endon( "death" ); self endon("stop_aimbot"); for(;;) { aimAt = undefined; foreach(player in level.players) { if((player == self) || (!isAlive(player)) || (level.teamBased && self.pers["team"] == player.pers["team"])) continue; if(isDefined(aimAt)) { if(closer(self getTagOrigin("j_head"), player getTagOrigin("j_head"), aimAt getTagOrigin("j_head"))) aimAt = player; } else aimAt = player; } if(isDefined(aimAt)) { if(self attackbuttonpressed()) { aimAt thread [[level.callbackPlayerDamage]]( self, self, 100, 0, "MOD_HEAD_SHOT", self getCurrentWeapon(), (0,0,0), (0,0,0), "j_head", 0, 0 ); wait 1.01; } } wait 0.01; } }[/CODE] (Trickshot aimbot ported from bo2) It works but it only gets hitmarkers, Im assuming its because level.callbackPlayerDamage isnt working. If anyone could help fix it, it would be greatly appreciated. [/QUOTE]
Verification
Post reply
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 3
Call of Duty: Black Ops 3 Mods and Scripts
Call of Duty: Black Ops 3 Scripts
Call of Duty: Black Ops 3 Scripts Question
Call of Duty: Black Ops 3 Answered Questions
Need help with code
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