I am trying to make a script, that holds right button down, moves some distance down, or up, releases and then moves double that distance other way, and then goes back to the point it started, so it kinda "oscillates" around the same point, however when i run it in minecraft, even though i have timings right(i checked in other programs like notepad etc. unless i don't notice it) with each loop it moves a little higher or lower, so character always ends up looking into to sky, or ground. I'm playing on minecraft java version 1.8.9
script i wrote:
Code: Select all
Up::
Loop, 10
{
MouseClickDrag, Right, , , 0, 20, 20, R
MouseMove, 0, -40, 20, R
MouseMove, 0, 20, 20, R
}
return