ID:178899
 
Let's say you want a hp to go down everytime you move how would you do that?
client/East()
usr.HP-=10

Theres an example.

-Kappa the Imp
In response to Kappa the Imp
You have to set it for each direction?
In response to Tazor07
Well, you can, but I don't reccomend it.

You could use client/Move(). However, since you probably want this to apply to all mobs and not just players, use mob/Move().

-AbyssDragon
In response to Tazor07
Tazor07 wrote:
You have to set it for each direction?

Or this way:
client
North()
usr.HP-=5
East()
usr.HP-=5
West()
usr.HP-=5
South()
usr.HP-=5


-Kappa the Imp