local config =
{
creatct = 1,
dist = 5,
monsters = {"Demon", " ", " "}
}
while (true) do
local amount = 0
for _, c in Creature.iMonsters(config.dist) do
if c:isAlive() and c:isOnScreen() then
amount = amount +1
end
end
for name, creature in Creature.iMonsters() do
if (table.contains(config.monsters, name)) then
if creature:isValid() and creature:isAlive() and amount >= config.creatct and not Self.isInPz() then
Self.Say("utito tempo")
wait(10500)
end
end
end
end
Jak widać nie spamuje: