Results 1 to 1 of 1
  1. #1
    Space Distance's Avatar
    Join Date
    May 2018
    Gender
    female
    Posts
    418
    Reputation
    35
    Thanks
    42
    My Mood
    Cheerful

    Post How to make this script in G HUB?

    I already have a basic LUA script here that I grabbed from another site;

    EnablePrimaryMouseButtonEvents(true);
    function OnEvent(event, arg)
    if IsKeyLockOn("capslock")then
    if IsMouseButtonPressed(1) then
    repeat
    MoveMouseRelative(0,-1)
    Sleep(1)
    until not IsMouseButtonPressed(1)
    end
    end
    end

    This script is doing the reverse of anti-recoil script and that is what I wanted however is it possible to make a script where if you pressed the Left Mouse button it will simulate an upward mouse movement but at the same time it will delay the shooting of the weapon for a few millescond.

    Basically if you're doing this in-game instead of doing body shots it drags the crosshair upward and if you time it right it will do headshots instead.

    Not sure if this is possible since I don't know anything about scripting/
    Last edited by Space Distance; 11-13-2020 at 03:36 AM.

Similar Threads

  1. Is this possible? How to make a script run when something happens in Cheat Engine?
    By LulzCode in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 8
    Last Post: 08-31-2012, 12:16 AM
  2. [Help]how to make this explosion kill only enemys
    By black iceee in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 9
    Last Post: 10-23-2010, 07:04 AM
  3. Could someone try to make this script?
    By MinaLainata in forum Call of Duty Modern Warfare 2 Coding / Programming / Source Code
    Replies: 6
    Last Post: 10-11-2010, 08:29 AM
  4. Need to know how to make this bug ~!
    By hardyboy in forum CrossFire Glitches
    Replies: 7
    Last Post: 09-18-2010, 10:18 PM
  5. Hey, Someone Gimme Tips on how to make this.
    By R3V in forum Art & Graphic Design
    Replies: 10
    Last Post: 07-13-2010, 12:06 PM