What I'm trying to do is to read from who I got damage and how much it doesnt work, im new to AHK btw
Settimer, hpcheck, 1000
hpcheck:
hp := getPlayerHealth()
ap := getPlayerArmor()
if(hp < oldhp)
{
attacker := getAttacker()
betweennumber := stringmath(oldhp-hp)...