[Release] [ZM] “Stim Shot” Movement Script
-
This script adds a stim-shot–style movement boost to Black Ops 2 Zombies using pure GSC, no hooks or engine mods required.
By double-tapping the sprint button, the player temporarily equips a hidden consumable (syrette_zm) that:
• Plays the injection animation
• Grants a temporary walk/run speed boost
• Automatically removes itself after the animation finishes
• Restores the player’s original weapon afterward
Controls
• Double-tap Sprint → Activate stim boost
• Speed boost automatically ends when the animation finishes!Raw Code:
#include maps\mp\_utility; init() { level thread onPlayerConnect(); } onPlayerConnect() { for (;;) { level waittill("connected", player); player thread heroinListener(); } } heroinListener() { self endon("disconnect"); self endon("death"); lastPressTime = 0; sprintHeld = false; normalSpeed = 1.0; boostSpeed = 1.5; // Adjust as needed for (;;) { wait 0.05; // Detect NEW sprint press (edge detection) if ( self sprintbuttonpressed() ) { if ( !sprintHeld ) { sprintHeld = true; currentTime = getTime(); // Double-tap window (300 ms) if ( currentTime - lastPressTime <= 300 ) { currentWeapon = self getCurrentWeapon(); // Give consumable self giveWeapon("syrette_zm"); self switchToWeapon("syrette_zm"); // Apply speed boost self setMoveSpeedScale(boostSpeed); // Let animation play wait 2; // Remove consumable self takeWeapon("syrette_zm"); // Remove speed boost self setMoveSpeedScale(normalSpeed); // Restore previous weapon if ( isDefined(currentWeapon) ) { self switchToWeapon(currentWeapon); } lastPressTime = 0; wait 0.3; } else { lastPressTime = currentTime; } } } else { // Button released → allow next tap sprintHeld = false; } } } -
Pretty cool, I can see it being used alongside Who's Who in the clone phase.
-
goated asf i needed something like this!
-
undefined Astroolean referenced this topic on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login