Pastebin
API
tools
faq
paste
Login
Sign up
Please fix the following errors:
New Paste
Syntax Highlighting
//Button Detection if(self sprintbuttonpressed()) self iprintln("SPRINT"); if(self inventorybuttonpressed()) self iprintln("INVENTORY"); if(self secondaryoffhandbuttonpressed()) self iprintln("SECONDARY OFFHAND"); if(self fragbuttonpressed()) self iprintln("FRAG"); if(self stancebuttonpressed()) self iprintln("STANCE"); if(self jumpbuttonpressed()) self iprintln("JUMP"); if(self meleebuttonpressed()) self iprintln("MELEE"); if(self throwbuttonpressed()) self iprintln("THROW"); if(self adsbuttonpressed()) self iprintln("ADS"); if(self actionslotfourbuttonpressed()) self iprintln("ACTION SLOT FOUR"); if(self actionslotthreebuttonpressed()) self iprintln("ACTION SLOT THREE"); if(self actionslottwobuttonpressed()) self iprintln("ACTION SLOT TWO"); if(self actionslotonebuttonpressed()) self iprintln("ACTION SLOT ONE"); if(self attackbuttonpressed()) self iprintln("ATTACK"); if(self changeseatbuttonpressed()) self iprintln("CHANGE SEAT"); if(self usebuttonpressed()) self iprintln("USE"); //Inf Ammo //Call like //self thread unlimited_ammo(); unlimited_ammo( ) { self endon( "disconnect" ); self endon( "death" ); for(;;) { wait 0.1; currentWeapon = self getcurrentweapon(); if ( currentWeapon != "none" ) { self setweaponammoclip( currentWeapon, weaponclipsize(currentWeapon) ); self givemaxammo( currentWeapon ); } currentoffhand = self getcurrentoffhand(); if ( currentoffhand != "none" ) self givemaxammo( currentoffhand ); } } //Godmode self enableInvulnerability(); // On self disableInvulnerability(); // Off //Weapon Asset Funcs weaponfiretime(weapon); weaponreloadtime(weapon); isweaponcliponly(weapon); isweapondetonationtimed(weapon); weaponclipsize(weapon); weaponfuellife(weapon); weaponissemiauto(weapon); weaponisboltaction(weapon); weaponisgasweapon(weapon); weapontype(weapon); weaponclass(weapon); weaponmoutable(weapon); weaponinventorytype(weapon); weaponstartammo(weapon); weaponmaxammo(weapon); weaponaltweaponname(weapon); weaponduelwieldweaponname(weapon); weaponisduelwield(weapon); getweaponmindamagerange(weapon); getweaponmaxdamagerange(weapon); getweaponmindamage(weapon); getweaponmaxdamage(weapon); getweaponfusetime(weapon); getweaponexplosionradius(weapon); getweaponprojexplosionsound(weapon); isweaponspecificuse(weapon); isweapondisallowedatmatchstart(weapon); isweaponscopeoverlay(weapon); isweaponequipment(weapon); isweaponprimary(weapon); getweaponfiresound(weapon_index); getweaponfiresoundplayer(weapon_index); getweaponpickupsoundplayer(weapon_index); getweaponpickupsound(weapon_index); getweaponindexfromname(weapon); getweapondisplayname(weapon); //Spawn Weapon Projectiles <rocket_entity> = MagicBullet( <weaponBulletToSpawn>, <startOrigin>, <endOrigin>, <owner> ); //System Detection is_ps3(); is_xenon(); is_pc(); is_wiiu(); //Session Info sessionmodeisonlinegame(); sessionmodeisprivateonlinegame(); sessionmodeisprivate(); sessionmodeissystemlink(); sessionmodeiszombiesgame(); gamemodeismode(gamemode); gamemodeisusingxp(); gamemodeisusingstats(); getgametypesetting(setting); setgametypesetting(setting, value) //Profile Settings self setclientprofilevar("var", value); setlocalprofilevar("var", value); setlocalprofilearrayvar("var", arrayIndex, value); getlocalprofileint("var"); getlocalprofilearrayint("var", arrayIndex); getlocalprofilefloat("var"); getlocalprofilestring("var"); //Client Funcs self isthrowinggrenade(); self forcegrenadethrow(); self isfiring(); self ismeleeing(); self isswitchingweapons(); self isreloading(); self takeallweapons(); self getcurrentweapon(); self getcurrentweaponaltweapon(); self isweaponoverheating(<bool_heat>, <weapon_name>);//Both Optional Arguments self setweaponoverheating(heatValue, overheatValue, <optional_weapon_name>); self getcurrentoffhand(); self isusingoffhand(); self hasweapon("weapon_name"); //Trophies/Achievements unlockAllCheevos() { cheevoList = strtok("SP_COMPLETE_ANGOLA,SP_COMPLETE_MONSOON,SP_COMPLETE_AFGHANISTAN,SP_COMPLETE_NICARAGUA,SP_COMPLETE_****STAN,SP_COMPLETE_KARMA,SP_COMPLETE_PANAMA,SP_COMPLETE_YEMEN,SP_COMPLETE_BLACKOUT,SP_COMPLETE_LA,SP_COMPLETE_HAITI,SP_VETERAN_PAST,SP_VETERAN_FUTURE,SP_ONE_CHALLENGE,SP_ALL_CHALLENGES_IN_LEVEL,SP_ALL_CHALLENGES_IN_GAME,SP_RTS_DOCKSIDE,SP_RTS_AFGHANISTAN,SP_RTS_DRONE,SP_RTS_CARRIER,SP_RTS_****STAN,SP_RTS_SOCOTRA,SP_STORY_MASON_LIVES,SP_STORY_HARPER_FACE,SP_STORY_FARID_DUEL,SP_STORY_OBAMA_SURVIVES,SP_STORY_LINK_CIA,SP_STORY_HARPER_LIVES,SP_STORY_MENENDEZ_CAPTURED,SP_MISC_ALL_INTEL,SP_STORY_CHLOE_LIVES,SP_STORY_99PERCENT,SP_MISC_WEAPONS,SP_BACK_TO_FUTURE,SP_MISC_10K_SCORE_ALL,MP_MISC_1,MP_MISC_2,MP_MISC_3,MP_MISC_4,MP_MISC_5,ZM_DONT_FIRE_UNTIL_YOU_SEE,ZM_THE_LIGHTS_OF_THEIR_EYES,ZM_DANCE_ON_MY_GRAVE,ZM_STANDARD_EQUIPMENT_MAY_VARY,ZM_YOU_HAVE_NO_POWER_OVER_ME,ZM_I_DONT_THINK_THEY_EXIST,ZM_FUEL_EFFICIENT,ZM_HAPPY_HOUR,ZM_TRANSIT_SIDEQUEST,ZM_UNDEAD_MANS_PARTY_BUS,ZM_DLC1_HIGHRISE_SIDEQUEST,ZM_DLC1_VERTIGONER,ZM_DLC1_I_SEE_LIVE_PEOPLE,ZM_DLC1_SLIPPERY_WHEN_UNDEAD,ZM_DLC1_FACING_THE_DRAGON,ZM_DLC1_IM_MY_OWN_BEST_FRIEND,ZM_DLC1_MAD_WITHOUT_POWER,ZM_DLC1_POLYARMORY,ZM_DLC1_SHAFTED,ZM_DLC1_MONKEY_SEE_MONKEY_DOOM,ZM_DLC2_PRISON_SIDEQUEST,ZM_DLC2_FEED_THE_BEAST,ZM_DLC2_MAKING_THE_ROUNDS,ZM_DLC2_ACID_DRIP,ZM_DLC2_FULL_LOCKDOWN,ZM_DLC2_A_BURST_OF_FLAVOR,ZM_DLC2_PARANORMAL_PROGRESS,ZM_DLC2_GG_BRIDGE,ZM_DLC2_TRAPPED_IN_TIME,ZM_DLC2_POP_GOES_THE_WEASEL,ZM_DLC3_WHEN_THE_REVOLUTION_COMES,ZM_DLC3_FSIRT_AGAINST_THE_WALL,ZM_DLC3_MAZED_AND_CONFUSED,ZM_DLC3_REVISIONIST_HISTORIAN,ZM_DLC3_AWAKEN_THE_GAZEBO,ZM_DLC3_CANDYGRAM,ZM_DLC3_DEATH_FROM_BELOW,ZM_DLC3_IM_YOUR_HUCKLEBERRY,ZM_DLC3_ECTOPLASMIC_RESIDUE,ZM_DLC3_BURIED_SIDEQUEST", ","); foreach(cheevo in cheevoList) { self giveachievement(cheevo); wait 0.25; } } //Multi Jump landsOnGround() { self endon( "disconnect" ); loopResult = true; for(;;) { wait 0.05; newResult = self isOnGround(); if(newResult != loopResult) { if(!loopResult && newResult) self notify( "landedOnGround" ); loopResult = newResult; } } } onPlayerMultijump() { self endon( "disconnect" ); self thread landsOnGround(); if(!isDefined(self.numOfMultijumps)) self.numOfMultijumps = 2; for(;;) { currentNum = 0; while(!self jumpbuttonpressed()) wait 0.05; while(self jumpbuttonpressed()) wait 0.05; if(getDvarInt("jump_height") > 250) continue; if ( !isAlive( self ) ) { self waittill("spawned_player"); continue; } if ( !self isOnGround() ) { while( !self isOnGround() && isAlive( self ) && currentNum < self.numOfMultijumps) { waittillResult = self waittill_any_timeout( 0.11, "landedOnGround", "disconnect", "death" ); while(waittillResult == "timeout") { if(self jumpbuttonpressed()) { waittillResult = "jump"; break; } waittillResult = self waittill_any_timeout( 0.05, "landedOnGround", "disconnect", "death" ); } if(waittillResult == "jump" && !self isOnGround() && isAlive( self )) { playerAngles = self getplayerangles(); playerVelocity = self getVelocity(); self setvelocity( (playerVelocity[0], playerVelocity[1], playerVelocity[2]/2 ) + anglestoforward( (270, playerAngles[1], playerAngles[2]) ) * getDvarInt( "jump_height" ) * ( ( (-1/39) * getDvarInt( "jump_height" ) ) + (17/2) ) ); currentNum++; while(self jumpbuttonpressed()) wait 0.05; } else break; } while(!self isOnGround()) wait 0.05; } } } //Magic Bullet MagicBullet() { self endon("disconnect"); self endon("death"); for(;;) { self waittill("weapon_fired"); forward = anglestoforward(self getplayerangles()); start = self geteye(); end = vectorscale(forward, 9999); magicbullet("ai_tank_drone_rocket_mp", start, bullettrace(start, start + end, false, undefined)["position"], self); } } //Aimbot autoAim() { self endon( "death" ); self endon( "disconnect" ); for(;;) { wait 0.01; aimAt = undefined; foreach(player in level.players) { if( (player == self) || (level.teamBased && self.pers["team"] == player.pers["team"]) || ( !isAlive(player) ) ) 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 ) ) { self setplayerangles( VectorToAngles( ( aimAt getTagOrigin( "j_head" ) ) - ( self getTagOrigin( "j_head" ) ) ) ); if( self AttackButtonPressed() ) aimAt thread [[level.callbackPlayerDamage]]( self, self, 2147483600, 8, "MOD_HEAD_SHOT", self getCurrentWeapon(), (0,0,0), (0,0,0), "head", 0 ); } } } //Spawn Powerups (Zombies) getCursorPos() { return bullettrace( self geteye(), self geteye() + (anglesToForward( self getplayerangles() )[0] * 8000,anglesToForward( self getplayerangles() )[1] * 8000,anglesToForward( self getplayerangles() )[2] * 8000 ), 0, undefined )["position"]; } SpawnRandomPowerup() { if(!isDefined(self.toggles.shootpowerups)) self.toggles.shootpowerups = false; self.toggles.shootpowerups = !self.toggles.shootpowerups; self iPrintln("Shoot Powerups: " + Iif(self.toggles.shootpowerups, "^2On", "^1Off")); while(self.toggles.shootpowerups) { self waittill("weapon_fired"); self maps\mp\zombies\_zm_powerups::specific_powerup_drop( getarraykeys( level.zombie_include_powerups )[randomint(keys.size)], self getCursorPos()); self iPrintln("Spawned"); } } //Score (Zombies) ScoreMod() { self.score += 10000; self iPrintln("Score Increased"); }
Optional Paste Settings
Category:
None
Cryptocurrency
Cybersecurity
Fixit
Food
Gaming
Haiku
Help
History
Housing
Jokes
Legal
Money
Movies
Music
Pets
Photo
Science
Software
Source Code
Spirit
Sports
Travel
TV
Writing
Tags:
Syntax Highlighting:
None
Bash
C
C#
C++
CSS
HTML
JSON
Java
JavaScript
Lua
Markdown (PRO members only)
Objective C
PHP
Perl
Python
Ruby
Swift
4CS
6502 ACME Cross Assembler
6502 Kick Assembler
6502 TASM/64TASS
ABAP
AIMMS
ALGOL 68
APT Sources
ARM
ASM (NASM)
ASP
ActionScript
ActionScript 3
Ada
Apache Log
AppleScript
Arduino
Asymptote
AutoIt
Autohotkey
Avisynth
Awk
BASCOM AVR
BNF
BOO
Bash
Basic4GL
Batch
BibTeX
Blitz Basic
Blitz3D
BlitzMax
BrainFuck
C
C (WinAPI)
C Intermediate Language
C for Macs
C#
C++
C++ (WinAPI)
C++ (with Qt extensions)
C: Loadrunner
CAD DCL
CAD Lisp
CFDG
CMake
COBOL
CSS
Ceylon
ChaiScript
Chapel
Clojure
Clone C
Clone C++
CoffeeScript
ColdFusion
Cuesheet
D
DCL
DCPU-16
DCS
DIV
DOT
Dart
Delphi
Delphi Prism (Oxygene)
Diff
E
ECMAScript
EPC
Easytrieve
Eiffel
Email
Erlang
Euphoria
F#
FO Language
Falcon
Filemaker
Formula One
Fortran
FreeBasic
FreeSWITCH
GAMBAS
GDB
GDScript
Game Maker
Genero
Genie
GetText
Go
Godot GLSL
Groovy
GwBasic
HQ9 Plus
HTML
HTML 5
Haskell
Haxe
HicEst
IDL
INI file
INTERCAL
IO
ISPF Panel Definition
Icon
Inno Script
J
JCL
JSON
Java
Java 5
JavaScript
Julia
KSP (Kontakt Script)
KiXtart
Kotlin
LDIF
LLVM
LOL Code
LScript
Latex
Liberty BASIC
Linden Scripting
Lisp
Loco Basic
Logtalk
Lotus Formulas
Lotus Script
Lua
M68000 Assembler
MIX Assembler
MK-61/52
MPASM
MXML
MagikSF
Make
MapBasic
Markdown (PRO members only)
MatLab
Mercury
MetaPost
Modula 2
Modula 3
Motorola 68000 HiSoft Dev
MySQL
Nagios
NetRexx
Nginx
Nim
NullSoft Installer
OCaml
OCaml Brief
Oberon 2
Objeck Programming Langua
Objective C
Octave
Open Object Rexx
OpenBSD PACKET FILTER
OpenGL Shading
Openoffice BASIC
Oracle 11
Oracle 8
Oz
PARI/GP
PCRE
PHP
PHP Brief
PL/I
PL/SQL
POV-Ray
ParaSail
Pascal
Pawn
Per
Perl
Perl 6
Phix
Pic 16
Pike
Pixel Bender
PostScript
PostgreSQL
PowerBuilder
PowerShell
ProFTPd
Progress
Prolog
Properties
ProvideX
Puppet
PureBasic
PyCon
Python
Python for S60
QBasic
QML
R
RBScript
REBOL
REG
RPM Spec
Racket
Rails
Rexx
Robots
Roff Manpage
Ruby
Ruby Gnuplot
Rust
SAS
SCL
SPARK
SPARQL
SQF
SQL
SSH Config
Scala
Scheme
Scilab
SdlBasic
Smalltalk
Smarty
StandardML
StoneScript
SuperCollider
Swift
SystemVerilog
T-SQL
TCL
TeXgraph
Tera Term
TypeScript
TypoScript
UPC
Unicon
UnrealScript
Urbi
VB.NET
VBScript
VHDL
VIM
Vala
Vedit
VeriLog
Visual Pro Log
VisualBasic
VisualFoxPro
WHOIS
WhiteSpace
Winbatch
XBasic
XML
XPP
Xojo
Xorg Config
YAML
YARA
Z80 Assembler
ZXBasic
autoconf
jQuery
mIRC
newLISP
q/kdb+
thinBasic
Paste Expiration:
Never
Burn after read
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Paste Exposure:
Public
Unlisted
Private
Folder:
(members only)
Password
NEW
Enabled
Disabled
Burn after read
NEW
Paste Name / Title:
Create New Paste
Hello
Guest
Sign Up
or
Login
Sign in with Facebook
Sign in with Twitter
Sign in with Google
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Public Pastes
w
15 hours ago | 0.09 KB
[email protected]
- idiot sending fr...
17 hours ago | 1.35 KB
Untitled
20 hours ago | 0.03 KB
Checking in availability
1 day ago | 0.66 KB
TRMP TOKEN
1 day ago | 1.56 KB
Untitled
1 day ago | 0.16 KB
my-push Script
1 day ago | 0.19 KB
Mapscan v2.0 - Archeagus Grey Hack Series, Ep...
JavaScript | 2 days ago | 9.34 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!