This commit is contained in:
Leshyi committed 2026-11-29 22:26:59 +05:00
1 parent 11d5404f8f
commit f073f06427
3 files changed
+28 -25

No files matched your search

+4 -3
View File
@@ -214,7 +214,8 @@ function Objectives.start(config: Config): Match
local c = p.Character
local h = c and c:FindFirstChildOfClass("Humanoid")
local r = c and c:FindFirstChild("HumanoidRootPart")
if side and h and h.Health > 0 and r and r:IsA("BasePart") and p:GetAttribute("InArena") == true then
if side and h and h.Health > 0 and r and r:IsA("BasePart") and p:GetAttribute("InArena") == true
and p:GetAttribute("ArenaWaiting") ~= true then
table.insert(found, {player = p, side = side, root = r})
end
end
@@ -556,7 +557,7 @@ function Objectives.start(config: Config): Match
for _, p in members do config.bench(p) end
lifeActive, nextMini = false, now + 4
end
if now >= nextMini then config.balanceWaiting() end
if now >= nextMini then config.balanceWaiting() end
local ready: {Player} = {}
local b, o = false, false
for _, p in members do
@@ -572,7 +573,7 @@ function Objectives.start(config: Config): Match
lifeActive, lifeEnds = true, now + 45
status("Мини-раунд " .. miniNumber)
elseif not b or not o then
status("Ожидаем игроков с обеих сторон")
status("Ждём игроков в обеих командах")
else
status("Следующий мини-раунд через " .. math.ceil(nextMini - now) .. " с")
end