Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Trickshotting "Spinning Script" (Need bug fix)


  • Please log in to reply
No replies to this topic
Snowyy
  • New members
  • 2 posts
  • Last active: Aug 27 2015 02:18 PM
  • Joined: 27 Aug 2015

Hi, i need a script, which moves my mouse from the left side of the screen, to the right side and in the other direction, what i did so far:

 

 
#MaxHotkeysPerInterval 10000
~NumLock::Suspend, toggle
~*P::
 
{
SetMouseDelay -1
while GetKeyState("P")
{
    MouseMove, 6.5, 0, 1, R ;<--- Change MouseMove, X to change speed.
    Delay(0.001)
}
Delay( D=0.001 )
{
    Static P
 
    Critical
    P ? P : DllCall( "QueryPerformanceFrequency", Int64P,P )
    DllCall( "QueryPerformanceCounter", Int64P,pTick ), cTick := pTick
    While( ( (Tick:=(pTick-cTick)/P)) < D ) {
        DllCall( "QueryPerformanceCounter", Int64P,pTick )
        Sleep -1
    }
    Return Round( Tick,3 )
}
}
 
My problem is, if i use the script in black ops 3 im not turning to the left or right, the cursor is going up. Does anyone have an other idea how to create a script like this?