Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;---------DO NOT TOUCH----------
- #SingleInstance, force
- #Persistent
- #MaxHotkeysPerInterval 10000
- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
- #Warn ; Enable warnings to assist with detecting common errors.
- SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
- SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
- DetectHiddenText, On
- DetectHiddenWindows, On
- SetTitleMatchMode 2
- SetTitleMatchMode Slow
- StringCaseSense, Locale
- ;---------DO NOT TOUCH----------
- if not A_IsAdmin
- {
- Run *RunAs "%A_ScriptFullPath%"
- ExitApp
- }
- #IfWinActive, Genshin Impact
- {
- ;---------VARIABLES----------
- ;foward := w
- ;---------VARIABLES----------
- w::w ; move forward
- s::s ; move backward
- a::a ; move left
- d::d ; move right
- LButton::LButton ; normal attack bugs sometimes out of genshin with holding left button on mouse
- RButton:: ;<-- uses the x key like the middle mouse button swap the x key for the button u want
- While (Getkeystate("RButton","P"))
- { Send, {r Down}
- sleep 100
- }
- Send, {r UP}
- Sleep 100
- Return
- e::e ; elemental skill
- LShift::LShift ; sprint
- Space::Space ; jump
- q::q ; elemental burst
- b::b ; open inventory
- c::c ; open character screen
- m::m ; open map
- F3::F3 ; open wish screen
- F1::F1 ; open adventurer handbook screen
- Esc::Esc ; open paimon menu
- j::j ; open quest menu
- v::v ; quest navigation
- y::y ; open notification details
- F2::F2 ; open coop screen
- Enter::Enter ; open chat screen
- u::u ; open domain screen
- 1::1 ; switch to party member 1
- 2::2 ; switch to party member 2
- 3::3 ; switch to party member 3
- 4::4 ; switch to party member 4
- 5::5 ; switch to party member 5
- r::r ; switch aiming mode
- f::f ; pickup interact
- LControl::LControl ; switch walk run
- g::g ; check tutorial details
- F5::F5 ; open the events menu
- F4::F4 ; open battle pass screen
- p::p ; challenge interrupted
- Tab::Tab ; tab menu if you swap tab you cant alt tab
- x:: ;<-- uses the x key like the middle mouse button swap the x key for the button u want
- While (Getkeystate("x","P"))
- { Send, {MButton down}
- sleep 100
- }
- Send, {MButton up}
- Sleep 100
- Return
- +v::ExitApp
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement