du darfst nciht temp zum specihern nehmen, nimm mal den code hier:

Code:
function control_healt
{
var old_health;
while(1)
{
if(old_health!=player.health)
{
red_pan.visible = on;
wait(-0.2);
red_pan.visible = off;
}
old_health=player.health;
wait(1);
}
}