Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Init
- #NoEnv
- #SingleInstance Force
- Process, Priority, , High
- SendMode Input
- SetTitleMatchMode, 3
- ; /Init
- #IfWinActive, ahk_class DARK SOULS
- !Esc::Pause
- ~LButton::h
- *^LButton::u
- RButton::z
- *^RButton::Tab
- MButton::f
- XButton1::PgDn
- XButton2::PgUp
- WheelUp::
- {
- Send {up down}
- Sleep 50
- Send {up up}
- return
- }
- WheelDown::
- {
- Send {down down}
- Sleep 50
- Send {down up}
- return
- }
- 1::v
- 2::c
- 3::b
- 4::n
- Shift::m
- Space::
- {
- Send {m up}
- Sleep 50
- Send {m down}
- return
- }
- Space Up::
- {
- if not GetKeyState("Shift", "P")
- {
- Send {m up}
- }
- return
- }
- ; Guard Break / Kick
- *!LButton::
- {
- isMoving := GetKeyState("w", "P")
- BlockInput, SendAndMouse
- if isMoving
- {
- Send {w up}
- Sleep 200
- }
- Send {w down}
- Sleep 20
- Send {h down}
- Sleep 30
- Send {h up}
- BlockInput, Off
- if not isMoving
- {
- Send {w up}
- }
- return
- }
- ; Jump Attack
- *!RButton::
- {
- isMoving := GetKeyState("w", "P")
- BlockInput, SendAndMouse
- if isMoving
- {
- Send {w up}
- Sleep 200
- }
- Send {w down}
- Sleep 30
- Send {u down}
- Sleep 30
- Send {u up}
- BlockInput, Off
- if not isMoving
- {
- Send {w up}
- }
- return
- }
- #IfWinActive
Advertisement
Add Comment
Please, Sign In to add comment