-- LocalScript ZoneHandler (via decompile) if not (game:IsLoaded()) then game.Loaded:Wait() end local Lighting_upv_1 = game:GetService("Lighting") local LocalPlayer_upv_1 = game:FindService("Players").LocalPlayer if not (LocalPlayer_upv_1.Character) then local _ = LocalPlayer_upv_1.CharacterAdded:Wait() end task.wait(1) local v1 = LocalPlayer_upv_1.Character or (LocalPlayer_upv_1.CharacterAdded:Wait()) local u1 = v1 local u2 = u1:WaitForChild("Humanoid", 10) u1:WaitForChild("HumanoidRootPart", 10) local v2 = game:GetService("ReplicatedStorage") local Zone_1 = require(v2:WaitForChild("Modules"):WaitForChild("Zone")) local ZoneRemote_1 = v2.Remotes:FindFirstChild("ZoneRemote") local _ = require(v2.Modules.WaypointService) local TweenService_upv_1 = game:GetService("TweenService") v2 = game:GetService("CollectionService") ZoneRemote_1.OnClientEvent:Connect( function(a1, a2) --[[ line: 18 ]] if a1 ~= "SafeEnter" then return end end ) LocalPlayer_upv_1.PlayerGui.GymStatsUI.Enabled = false local u3 = 0 local u4 = function() --[[ line: 35 upvalues: u3 (ref, index: 1) u1 (ref, index: 2) LocalPlayer_upv_1 (copy, index: 3) TweenService_upv_1 (copy, index: 4) Lighting_upv_1 (copy, index: 5) u2 (ref, index: 6) ]] local v3 = u3 + 1 u3 = v3 u1.ChildAdded:Connect( function(a1) --[[ line: 39 upvalues: LocalPlayer_upv_1 (copy, index: 1) TweenService_upv_1 (copy, index: 2) Lighting_upv_1 (copy, index: 3) ]] if (not a1:IsA("ForceField") or a1.Name ~= "SafeField") and a1:IsA("Highlight") and a1.Name == "StormHighlight" then local v4 = TweenInfo.new(0.5) local tbl_1 = {} tbl_1.TintColor = Color3.fromRGB(170, 85, 255) TweenService_upv_1:Create(Lighting_upv_1.ColorCorrection, v4, tbl_1):Play() end LocalPlayer_upv_1.PlayerGui.Main.SafeZone.Visible = true end ) u1.ChildRemoved:Connect( function(a2) --[[ line: 47 upvalues: LocalPlayer_upv_1 (copy, index: 1) TweenService_upv_1 (copy, index: 2) Lighting_upv_1 (copy, index: 3) ]] if (not a2:IsA("ForceField") or a2.Name ~= "SafeField") and a2:IsA("Highlight") and a2.Name == "StormHighlight" then local v5 = TweenInfo.new(0.5) local tbl_2 = {} tbl_2.TintColor = Color3.fromRGB(255, 255, 255) TweenService_upv_1:Create(Lighting_upv_1.ColorCorrection, v5, tbl_2):Play() end LocalPlayer_upv_1.PlayerGui.Main.SafeZone.Visible = false end ) while v3 == u3 and (task.wait(0.5)) do if u1 and u2 and v3 == u3 then local v6 = u1:GetAttribute("Combat") or -1 if v6 == -1 then LocalPlayer_upv_1.PlayerGui.Main.Combat.Visible = false continue end local v7 = math.clamp(30 - (os.time() - v6), -1, 30) if v7 >= 0 then LocalPlayer_upv_1.PlayerGui.Main.Combat.Visible = true LocalPlayer_upv_1.PlayerGui.Main.Combat.Timer.Text = ("Ending In %*s"):format(v7) else LocalPlayer_upv_1.PlayerGui.Main.Combat.Visible = false end continue end LocalPlayer_upv_1.PlayerGui.Main.Combat.Visible = false return end end LocalPlayer_upv_1.CharacterAdded:Connect( function(a1) --[[ line: 79 upvalues: u1 (ref, index: 1) u2 (ref, index: 2) LocalPlayer_upv_1 (copy, index: 3) u4 (copy, index: 4) ]] u1 = a1 u2 = a1:WaitForChild("Humanoid", 3) if LocalPlayer_upv_1.Team == game.Teams.PD then game:FindService("ReplicatedStorage").Misc.RadioUI:Clone().Parent = LocalPlayer_upv_1.PlayerGui end u4() end ) task.wait(5) local tbl_upv_3 = {} for v11, value_upv_1 in next, workspace:WaitForChild("Zones"):WaitForChild("Audio"):GetChildren() do if not (value_upv_1:IsA("Part")) then continue end local v8 = value_upv_1:GetAttribute("Sound") if not (v8) then continue end local v9 = string.split(v8, " ") local u5 = v9[1] local u6 = v9[2] if not (u5) then continue end if u6 or not (tonumber(u6)) then local v10 = Zone_1.new(value_upv_1) v10:setAccuracy("Low") if tonumber(u6) then table.insert(tbl_upv_3, {Part = value_upv_1, Zone = v10, SoundId = u5, Volume = tonumber(u6)}) end v10.localPlayerEntered:Connect( function(a1) --[[ line: 113 upvalues: u1 (ref, index: 1) u2 (ref, index: 2) value_upv_1 (copy, index: 3) u5 (copy, index: 4) TweenService_upv_1 (copy, index: 5) u6 (copy, index: 6) ]] if not a1 or not u1 or not u2 then return end if value_upv_1.Name == "Gym" then a1.PlayerGui.GymStatsUI.Enabled = true end if workspace:GetAttribute("Event") or _G.Music == false then return end local v11 = 0 local IntroUI_1 = a1.PlayerGui:FindFirstChild("IntroUI") if IntroUI_1 then while true do task.wait(0.5) v11 = v11 + 1 if not (a1.PlayerGui:FindFirstChild("IntroUI")) or v11 >= 50 then break end end end local v12 = value_upv_1:FindFirstChildOfClass("Sound") if v12 then v12:Destroy() end local v13 = Instance.new("Sound", value_upv_1) v13.SoundId = u5 v13.Volume = 0 v13.RollOffMaxDistance = ((value_upv_1.Name ~= "Motor") and 10000) or 100 v13.RollOffMode = Enum.RollOffMode.InverseTapered v13.Looped = true v13.Parent = value_upv_1 v13:Play() local v14 = TweenInfo.new((false and 3) or 1.5) local tbl_4 = {} tbl_4.Volume = tonumber(u6) TweenService_upv_1:Create(v13, v14, tbl_4):Play() end ) v10.localPlayerExited:Connect( function(a1) --[[ line: 154 upvalues: value_upv_1 (copy, index: 1) TweenService_upv_1 (copy, index: 2) ]] if value_upv_1.Name == "Gym" then a1.PlayerGui.GymStatsUI.Enabled = false end local v15 = value_upv_1:FindFirstChildOfClass("Sound") if v15 then local tbl_5 = {Volume = 0} TweenService_upv_1:Create(v15, TweenInfo.new(1.5), tbl_5):Play() task.wait(1) if not v15 then return end v15:Destroy() end end ) end end workspace:GetAttributeChangedSignal("Event"):Connect( function() --[[ line: 171 upvalues: LocalPlayer_upv_1 (copy, index: 1) tbl_upv_3 (copy, index: 2) TweenService_upv_1 (copy, index: 3) ]] if workspace:GetAttribute("Event") or _G.Music == false or LocalPlayer_upv_1.PlayerGui:FindFirstChild("IntroUI") then return end for _, value_2 in next, tbl_upv_3 do if not (value_2.Zone:findLocalPlayer()) then continue end local v16 = value_2.Part:FindFirstChildOfClass("Sound") if not (v16) then v16 = Instance.new("Sound") v16.SoundId = value_2.SoundId v16.Volume = 0 v16.RollOffMaxDistance = ((value_2.Part.Name ~= "Motor") and 10000) or 100 v16.RollOffMode = Enum.RollOffMode.InverseTapered v16.Looped = true v16.Parent = value_2.Part end if not (v16.IsPlaying) then v16:Play() end local v17 = TweenInfo.new(1.5) local tbl_6 = {} tbl_6.Volume = value_2.Volume TweenService_upv_1:Create(v16, v17, tbl_6):Play() end end ) v2:GetInstanceAddedSignal("EmoteSound"):Connect( function(a1) --[[ line: 200 ]] if not a1:IsA("Sound") then return end local v18 = nil if _G.Music ~= nil then v18 = _G.Music else _G.Music = true end if not (v18) then a1:Destroy() end end ) u4()