This commit is contained in:
Leshyi committed 2026-11-29 18:48:34 +05:00
1 parent 1a6f73ace2
commit ce2ccfccdb
6 files changed
+93 -29

No files matched your search

+5
View File
@@ -16,6 +16,10 @@ local playerGui = player:WaitForChild("PlayerGui")
local state = ReplicatedStorage:WaitForChild("ArenaRound")
local results = state:WaitForChild("RoundResults") :: RemoteEvent
local leaveArena = state:WaitForChild("LeaveArena") :: RemoteEvent
local objectiveCue = ReplicatedStorage:WaitForChild("ArenaObjectiveCue") :: RemoteEvent
local objectiveCueConnection = objectiveCue.OnClientEvent:Connect(function(captured: boolean)
Sounds.sound(if captured then "HotPointCaptured" else "HotPointStart")
end)
local limit = state:GetAttribute("TeamLimit") :: number
local modeIds = {Modes.Procedural}
local function currentMode(): string
@@ -964,6 +968,7 @@ script.Destroying:Once(function()
ContextActionService:UnbindAction(scoreboardAction)
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, nativePlayerList)
for _, connection in scoreConnections do connection:Disconnect() end
objectiveCueConnection:Disconnect()
if captureTween then captureTween:Cancel() end
clearCountdownBeat()
hideResults()