startThread(function() while IsObjectExists('имя') do PlayObjectAnimation("имя", "attack00", 3) sleep(50) end end)