local o=script:FindFirstAncestor("\077\097\105\110\085\073")local w=game["\082\117\110 \083\101\114\118\105\099\101"]local A=game:GetService("\085\115\101\114\073\110\112\117\116\083\101\114\118\105\099\101")local e={}local Q={}local l=require(script.Parent.Parent)local W=game.Players.LocalPlayer local b=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")function e.update(o)Q={}if l.dead==true then o=false end for o,w in pairs(game.Players:GetChildren())do local A,e=pcall(function()if w.Character and w~=W then local o={}for w,A in pairs(w.Character:GetDescendants())do if A:IsA("\066\097\115\101\080\097\114\116")and A.Transparency<1 then table.insert(o,A)end end table.insert(Q,{w.Character,o})end end)if e then warn(e)end end local w,A=pcall(function()for w,A in pairs(Q)do local e=A[1]local Q=A[2]local l=A[2][1]if l then if l:GetAttribute("\072\105\100\100\101\110")~=true and o==true then for o,w in pairs(Q)do(b:Create(w,TweenInfo.new(.6),{LocalTransparencyModifier=.7})):Play()end l:SetAttribute("\072\105\100\100\101\110",true)elseif l:GetAttribute("\072\105\100\100\101\110")==true and o==false then for o,w in pairs(Q)do(b:Create(w,TweenInfo.new(.6),{LocalTransparencyModifier=0})):Play()end l:SetAttribute("\072\105\100\100\101\110",false)end end wait()end end)if A then warn(A)end end e.update(false)game.Players.PlayerAdded:Connect(e.update)game.Players.PlayerRemoving:Connect(e.update)for o,w in pairs(game.Players:GetChildren())do w.CharacterAdded:Connect(e.update)end return e


local v1 = script:FindFirstAncestor("MainUI");
local v2 = game["Run Service"];
local l__UserInputService__3 = game:GetService("UserInputService");
local v4 = {};
local u1 = {};
local u2 = require(script.Parent.Parent);
local l__LocalPlayer__3 = game.Players.LocalPlayer;
local l__TweenService__4 = game:GetService("TweenService");
function v4.update(p1)
	u1 = {};
	if u2.dead == true then
		p1 = false;
	end;
	for v5, v6 in pairs(game.Players:GetChildren()) do
		local v7, v8 = pcall(function()
			if v6.Character and v6 ~= l__LocalPlayer__3 then
				local v9 = {};
				for v10, v11 in pairs(v6.Character:GetDescendants()) do
					if v11:IsA("BasePart") and v11.Transparency < 1 then
						table.insert(v9, v11);
					end;
				end;
				table.insert(u1, { v6.Character, v9 });
			end;
		end);
		if v8 then
			warn(v8);
		end;
	end;
	local v12, v13 = pcall(function()
		for v14, v15 in pairs(u1) do
			local v16 = v15[1];
			local v17 = v15[2];
			local v18 = v15[2][1];
			if v18 then
				if v18:GetAttribute("Hidden") ~= true and p1 == true then
					for v19, v20 in pairs(v17) do
						l__TweenService__4:Create(v20, TweenInfo.new(0.6), {
							LocalTransparencyModifier = 0.7
						}):Play();
					end;
					v18:SetAttribute("Hidden", true);
				elseif v18:GetAttribute("Hidden") == true and p1 == false then
					for v21, v22 in pairs(v17) do
						l__TweenService__4:Create(v22, TweenInfo.new(0.6), {
							LocalTransparencyModifier = 0
						}):Play();
					end;
					v18:SetAttribute("Hidden", false);
				end;
			end;
			wait();
		end;
	end);
	if v13 then
		warn(v13);
	end;
end;
v4.update(false);
game.Players.PlayerAdded:Connect(v4.update);
game.Players.PlayerRemoving:Connect(v4.update);
for v23, v24 in pairs(game.Players:GetChildren()) do
	v24.CharacterAdded:Connect(v4.update);
end;
return v4;
