Polish Team Deathmatch streaks and comeback hints

This commit is contained in:
Leshyi committed 2026-11-30 00:07:25 +05:00
1 parent 7a1c80c22a
commit 6bb5fba771
8 files changed
+56 -4

No files matched your search

@@ -62,6 +62,12 @@ local function event(kind: string, p: any)
elseif p.side == player:GetAttribute("ArenaTeam") then S.flagHints.picked else S.flagHints.enemyPicked
bannerUntil = workspace:GetServerTimeNow() + 2.7
end
if id == "TeamDeathmatch" and kind == Kinds.Streak then
contour:SetAttribute("Accent",tone)
title.Text=string.format(S.teamDeathmatch.streak,p.text or "",p.value or 0)
bannerUntil=workspace:GetServerTimeNow()+2.7
if p.userId~=player.UserId then Sounds.sound("RoundStart") end
end
if id == "HuntLeader" and (kind == Kinds.LeaderAssigned or kind == Kinds.LeaderDown) then
local now=workspace:GetServerTimeNow()
if kind == Kinds.LeaderDown or now>=bannerUntil then