;Coded by newbie123

;This script is intended for AutoHotKey_L

;Download AHK_L at http://www.autohotkey.com/download/

;

;Press Tilde key [`] to suspend

;Hold [W] to perform multiple jumps, works great for jumping up platforms!

;Hold [Left Mouse Button] for multiple clicks, works great for swinging a sword or crafting!

;Hold [Right Mouse Button] for Spiderman like Grappling Hook action!

#MaxThreadsPerHotkey 1

#MaxHotkeysPerInterval 10000000000000

#Singleinstance FORCE

SendMode , Event

SetTitleMatchMode , 2

Process , Exist , Terraria . exe ;Retrieves the PID for Terraria!

TPID = %ErrorLevel%

If TPID = 0 ;Exists APP if Terraria isn't running!

{

MsgBox , Please start Terraria before running this application!

ExitApp

}

#IfWinActive , Terraria

$`:: Suspend

$w:: Gosub MyLabel

$LButton:: Gosub MyLabel2

$RButton:: Gosub MyLabel3

MyLabel:

while GetKeyState ( "w" , "P" )

{

if GetKeyState ( "w" , "P" )

SetKeyDelay , 20 , 900

else break

if GetKeyState ( "w" , "P" )

Send { Space }

else break

}

Return

MyLabel2:

SetMouseDelay , 40

Send , { Click }

Sleep 100

While GetKeyState ( "LButton" , "P" )

{

If GetKeyState ( "LButton" , "P" )

Send , { Click }

Else break

}

;} ;Remove if using AHK_L

;Else ;Remove if using AHK_L

; Send {Click} ;Remove if using AHK_L

Return

MyLabel3:

SetKeyDelay , 40 , 100

Send 3 ;Change number to slot where you prefer your grappling hook!

SetMouseDelay , 40

Send { Click }

Sleep 500

SetKeyDelay , 40 , 100

Send 1 ;Change to preferred weapon slot!