Minecraft Head Hitting Jump

Ask gaming related questions (AHK v1.1 and older)
JkrAbram
Posts: 3
Joined: 21 Jan 2018, 07:54

Minecraft Head Hitting Jump

23 Jan 2018, 03:33

Hello,
I have only just started using AutoHotKey, and I have decided to test out the GUI function.
Here is my code: (I will explain its function afterwards)

Code: Select all

Gui, Show , w600 h150, No Sprint HeadHitter v1
Gui, Add, Text, x10 y10 w90 Left,Default Bind:
Gui, Add, Text, x10 y30 w200 Left,Parkour - z
Gui, Add, Slider, x32 y59 w300 h30 vMS ToolTip Range30-70, 25

#IfWinActive Minecraft 1.12
*z::
{
Send {w down}
Sleep %MS%
Send Space
Send {w up}
If(!GetKeyState("Shift"))
{
return
}
Send {w up}
}


return

GuiClose:
ExitApp

Essentially, on the GUI screen, a slider allows you to choose a number between 30 and 70. Within the code, after I press z, W is pressed in Minecraft, and the number (in milliseconds) you selected in the GUI is then waited, before, the character jumps, and then stops pressing W. However, when I tried this in practice, my Minecraft inventory opened, and I didn't jump. I have played around with this for a while, and it is really bugging me.

Someone please help me with this :)

Thanks, James

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 53 guests