Welcome to hackvshack.net Forum!
Download Free HvH CS2/CS:GO Cheats, CFG, LUA/JS Scripts, and More!
Register

Function LUA [CS:Source] Fast run (Jitter move)

M1denHvH

Rookie HvHer
User ID:
21399
Messages:
19
Reactions:
5
Badges:
8
REP:
−0/1+
Level:
19
yo, this is fast run, credits to ze-elite.
call this before prediction in createmove, so u can achieve 250 -> 280 velocity (290 with scout $$$)

C-like:
Expand Collapse Copy
        jitter_move_state = false,
        jitter_move = function(self, cmd, local_player)
            if ctx.local_player:in_air() or local_player:move_type() == sdk.MOVETYPE.NOCLIP or ctx.local_player:stamina() > 0 then
                return
            end;
          
            local forward = bit.band(cmd.buttons, sdk.IN.FORWARD) ~= 0;
            local back = bit.band(cmd.buttons, sdk.IN.BACK) ~= 0;
            local left = bit.band(cmd.buttons, sdk.IN.MOVELEFT) ~= 0;
            local right = bit.band(cmd.buttons, sdk.IN.MOVERIGHT) ~= 0;

            local val = 203.7;
            local run = self.jitter_move_state

            if (forward and left) or (back and right) then
                cmd.sidemove = cmd.sidemove + (run and -val or val);
                cmd.forwardmove = cmd.forwardmove + (run and -val or val);
            elseif (forward and right) or (back and left) then
                cmd.sidemove = cmd.sidemove + (run and -val or val);
                cmd.forwardmove = cmd.forwardmove + (run and val or -val);
            elseif forward or back then
                cmd.sidemove = cmd.sidemove + (run and -val or val);
            elseif left or right then
                cmd.forwardmove = cmd.forwardmove + (run and val or -val);
            end;

            self.jitter_move_state = not run;
        end;
 
Last edited:

Who has read this thread (Total: 0) in last 1 hours View details