Last active
March 20, 2026 19:03
-
-
Save barbarbar338/c023dc5eeefd727efed22160bee0be90 to your computer and use it in GitHub Desktop.
Diablo 4 Sorcerer Perma TP AutoHotkey Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; F1 to toggle start/stop | |
| ; F2 to exit | |
| ; | |
| ; NOTE#1: I have binded my skills to 1, 2, and 4. | |
| ; 1 => Teleport | |
| ; 2 => Lightning Spear | |
| ; 4 => Unstable Currents | |
| ; | |
| ; And binded Ball Lightning to MB1. | |
| ; | |
| ; I turned off walking and attacking with left click, | |
| ; so I can use it for spamming Ball Lightning. | |
| ; To be able to walk again, I binded my movement key to MB4. | |
| ; | |
| ; You can change the keys and mouse buttons as you wish, | |
| ; just make sure to update the code accordingly. | |
| ; | |
| ; NOTE#2: If you cannot perma-TP because of your cooldown, | |
| ; try turning off the script and walk around for a bit to reset the cooldown, | |
| ; then turn it back on using F1 toggle key. | |
| global SpamActive := false | |
| F1:: ToggleSpam() | |
| F2:: ExitApp | |
| ToggleSpam() { | |
| global SpamActive | |
| SpamActive := !SpamActive | |
| if SpamActive { | |
| ToolTip "Spam Active - Press F1 to stop, ESC to exit" | |
| SetTimer SpamKeys, 100 | |
| } else { | |
| ToolTip "Spam Inactive - Press F1 to start, ESC to exit" | |
| SetTimer SpamKeys, 0 | |
| } | |
| } | |
| SpamKeys() { | |
| if !SpamActive | |
| return | |
| ; ENABLE THE SKILLS YOU WANT TO SPAM BELOW | |
| Send "1" | |
| Sleep 50 | |
| Send "2" | |
| Sleep 50 | |
| ; Send "3" | |
| ; Sleep 50 | |
| Send "4" | |
| Sleep 50 | |
| Send " " | |
| Sleep 50 | |
| Click | |
| Sleep 50 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment