This commit is contained in:
Leshyi committed 2026-11-29 19:48:57 +05:00
1 parent 82eecfda06
commit bdf5eca81f
10 files changed
+287 -94

No files matched your search

+1 -6
View File
@@ -174,7 +174,7 @@ local function reveal(outcome: Outcome, now: number)
title.Text = "РЕЖИМ ВЫБРАН"
clock.Visible, line.Visible = false, false
caption.TextXAlignment, detail.TextXAlignment = Enum.TextXAlignment.Center, Enum.TextXAlignment.Center
caption.Text = "СЛЕДУЮЩИЙ РАУНД"
caption.Text = if selectedRule then "СЛЕДУЮЩИЙ РАУНД" else "ВЫ ВОЗВРАЩАЕТЕСЬ В ЛОББИ"
detail.Text = Rules.get(outcome.winner).detail
local center = Vector2.new(panelWidth / 2, panelHeight / 2)
for _, slot in cards do
@@ -198,7 +198,6 @@ end
local received = vote.OnClientEvent:Connect(function(id: string, endsAt: number, counts: {[string]: number}, total: number,
selection: string?, outcome: Outcome?)
if player:GetAttribute("InArena") == true or player:GetAttribute("ArenaWaiting") == true then return end
local now = workspace:GetServerTimeNow()
local left = endsAt - now
if outcome then
@@ -227,10 +226,6 @@ end)
local timer = RunService.Heartbeat:Connect(function()
if not gui.Enabled then return end
local now = workspace:GetServerTimeNow()
if player:GetAttribute("InArena") == true or player:GetAttribute("ArenaWaiting") == true then
hide()
return
end
local dismissAt = revealEndsAt
if dismissAt then
if now >= dismissAt then hide() end