life = life + 25;
health++;
DestroyTimer("Increase");
if(attack==1)
{
health++;
}
if(right==1)
{
ChangeAnimation("EventActor","PunchRight",FORWARD);
attack=1;
}
if(right==0)
{
ChangeAnimation("EventActor","PuchLeft",FORWARD);
attack=1;
}
ChangeAnimation("EventActor","StopRight",FORWARD);
attack=0;
ChangeAnimation("EventActor","StopLeft",FORWARD);
attack=0;
Users browsing this forum: No registered users and 1 guest