Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
- ; #Warn ; Enable warnings to assist with detecting common errors.
- SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
- SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
- SetKeyDelay, 0
- SetMouseDelay, 0
- Setbatchlines, -1
- #SingleInstance, Force
- x40 := 1851 ; change value if u want to heal more higher for example to 1855 or 1855 +.
- x39 := 1790 ;
- HealthY := 315 ; do not touch
- Loop,
- {
- If WinActive("Tibia")
- {
- PixelGetColor, Check40, %x40%, %HealthY%
- If(Check40 != 0x6161F1){
- sendInput {F4}}
- Random, rand, 400, 500
- Sleep, rand
- }
- ;}
- }
- Random, rand, 400, 500
- Sleep, rand
- }
- Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement