Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Misc.au3>
- Opt("TrayIconHide", 1)
- Msgbox(0, "Terraria Auto-clicker", "Waiting for Terraria...")
- while 1
- if ProcessExists("Terraria.exe") then
- Msgbox(0, "Terraria Auto-clicker", "Auto-clicker Activated" & @CRLF & @CRLF &"Press 'U' To Exit" & @CRLF & "Press And Hold 'R' To Rapid Left-Click" & @CRLF & "Press 'T' To Hold Left Mouse Down, And Again To Stop It")
- while ProcessExists("Terraria.exe")
- if _Ispressed("54") then
- mouseDown("Left")
- sleep(100)
- while 1
- if _Ispressed("54") then
- mouseup("left")
- ExitLoop
- EndIf
- sleep(50)
- WEnd
- EndIf
- sleep(50)
- while _Ispressed("52")
- mouseclick("left")
- sleep(5)
- wend
- sleep(50)
- if _ispressed("55") then
- ExitLoop
- endif
- while NOT Winactive("Terraria") AND ProcessExists("Terraria.exe")
- sleep(5)
- wend
- sleep(50)
- wend
- MsgBox(0, "Terraria Auto-Clicker", "Auto-Clicker Closing" & @CRLF & @CRLF & "Thank you for using Terraria Auto-Clicker. Made by Miffy")
- exit
- endif
- sleep(500)
- wend
Add Comment
Please, Sign In to add comment