Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; https://drive.google.com/file/d/19UJDzEIBnhCzJj6vkzgeBf7VDlRPOlFW/view?usp=sharing
- ; Do not copy and paste past the link! Theres the chance of it breaking if you wanna copy and paste the code and its recommended that you use the bundle with WeAreDevs lag switch
- ; !! CTRL+ALT Ends script !!
- ; T shows counter (which crossbow to use)
- ; F fires the current crossbow
- ; CTRL+R resets counter. Do it after dying
- ; R reloads
- ; CTRL+T inspects (kinda important!)
- ; Default fire rate value is optimized for ~50 fps average. At least i5-6600 or ryzen 5 1600X is required for good consistency!
- ; SendBatchLines = Time multiplier
- SetBatchLines, -1
- FireRate := 24
- ReloadRate := 16
- MsgBox AHK SuperCrossbow Macro V2.2 has been started. Download is in the source!
- ReloadNum := 1
- Current := 1
- ^r:: ; Reset
- msgBox Secondary counter reset
- Current := 1
- return
- r:: ; Mass Reload
- ReloadNum = 1
- LoopNum := Current - 1
- Loop, %LoopNum%
- {
- If (ReloadNum = 10)
- {
- Send, 0
- Sleep, ReloadRate
- MouseClick, left
- } Else {
- Send, %ReloadNum%
- Sleep, ReloadRate
- MouseClick, left
- }
- ReloadNum := ReloadNum + 1
- }
- Sleep, ReloadRate
- Current := 1
- Send, %Current%
- return
- f:: ; Fire, order: check CVAR, send CVAR increase CVAR, click
- While GetKeyState("F") {
- if (Current < 11) {
- MouseClick, left
- Sleep, FireRate
- Current := Current + 1
- if (Current < 10)
- {
- Send, %Current%
- } Else {
- Send, 0
- }
- }
- }
- return
- t:: ; Inspect
- Send, %Current%
- return
- ^t:: ; Inspect for bad bows
- ChkNum := 1
- Loop, 10
- {
- If (ChkNum > 9)
- {
- Send, 0
- } Else {
- Send, %ChkNum%
- ChkNum := ChkNum + 1
- Sleep, 66
- }
- }
- return
- ^alt::
- MsgBox Script ended (CTRL+ALT)
- ExitApp ; VERY NECESSARY
- return
- ; redpawner
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement