Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local AddHook = dismay and dismay.AddHook or hook and hook.Add or function() print("fuck i missed") end;
- AddHook("CreateMove", "BHOP", function(cmd)
- if (cmd:KeyDown(IN_JUMP)) then
- if(cmd:GetMouseX() < 0) then --spinning right
- cmd:SetSideMove(-10000);
- elseif(cmd:GetMouseX() > 0) then
- cmd:SetSideMove(10000);
- end
- if (LocalPlayer():IsOnGround()) then
- cmd:SetButtons(bit.bor(cmd:GetButtons(), IN_JUMP));
- return;
- end
- end
- cmd:RemoveKey(IN_JUMP);
- end)
Advertisement
Add Comment
Please, Sign In to add comment