Terraria autoclicker (alt version for left mouse button)

Jun 8th, 2020
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. ; #Warn  ; Enable warnings to assist with detecting common errors.
  3. SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
  4. SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
  5. #SingleInstance Force
  7. MsgBox, 0x30, Terraria autoclicker warning, This program will only work if the Terraria executable is called "Terraria.exe", without the quotes. It will also only work when the Terraria window is active.`nTry running this as administrator if it doesn't work at first.`n`nKeep the left mouse button pressed to autoclick.`n`nSource code:
  9. #IfWinActive ahk_exe Terraria.exe
  11. $LButton::
  12. SendEvent, {LButton Down}
  13. Sleep, 50
  14. SendEvent, {LButton Up}
  15. Sleep, 200
  16. While, GetKeyState("LButton", "P"){
  17.     SendEvent, {Click}
  18. }
  19. Return
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add to your ad blocker whitelist or disable your adblocking software.