L_34_.OnServerEvent:connect(function(N)for N,u in pairs(L_30_:GetChildren())do if u.Name:sub(1,7)=="\070\108\097\115\104\070\088"then u.Enabled=true end end delay(.033333333333333,function()for N,u in pairs(L_30_:GetChildren())do if u.Name:sub(1,7)=="\070\108\097\115\104\070\088"then u.Enabled=false end end end)end)local N L_35_.OnServerEvent:connect(function(u,v,L)v:TakeDamage(L)if v.Health<=0 and v~=N then if L_4_ and L_4_:FindFirstChild(L_2_.Name)then local N=L_4_[L_2_.Name]N.Value=not N.Value end L_39_:FireClient(u)N=v end end)L_36_.OnServerEvent:connect(function(N,u)local v=Instance.new("\079\098\106\101\099\116\086\097\108\117\101")v.Name="\099\114\101\097\116\111\114"v.Value=N v.Parent=u game.Debris:AddItem(v,3)end)L_37_.OnServerEvent:connect(function(N,u,v)local L=N.Character local b=L:FindFirstChild("\084\111\114\115\111")local o=(L:FindFirstChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")):FindFirstChild("\082\111\111\116\074\111\105\110\116")local R=b:FindFirstChild("\082\105\103\104\116 \072\105\112")local I=b:FindFirstChild("\076\101\102\116 \072\105\112")local x=b:FindFirstChild("\067\108\111\110\101")if u=="\080\114\111\110\101"and(L and x)then o.C0=CFrame.new(0,-2.4201169,-0.0385534465,-0.99999994,-5.86197757e-12,-4.54747351e-13,5.52669195e-12,.998915195,.0465667509,0,.0465667509,-0.998915195)R.C0=CFrame.new(1.00000191,-1,-5.96046448e-08,1.31237243e-11,-0.344507754,.938783348,0,.938783467,.344507784,-1,0,-1.86264515e-09)I.C0=CFrame.new(-0.999996185,-1,-1.1920929e-07,-2.58566502e-11,.314521015,-0.949250221,0,.94925046,.314521164,1,3.7252903e-09,1.86264515e-09)x.C0=CFrame.new(0,-2.04640698,-0.799179077,-1,0,-8.57672189e-15,8.57672189e-15,0,1,0,1,0)elseif u=="\067\114\111\117\099\104"and(L and x)then o.C0=CFrame.new(0,-1.04933882,0,-1,0,-1.88871293e-12,1.88871293e-12,-3.55271368e-15,1,0,1,-3.55271368e-15)R.C0=CFrame.new(1,.0456044674,-0.494239986,6.82121026e-13,-1.22639676e-11,1,-0.058873821,.998265445,-1.09836602e-11,-0.998265445,-0.058873821,0)I.C0=CFrame.new(-1.00000381,-0.157019258,-0.471293032,-8.7538865e-12,-8.7538865e-12,-1,.721672177,.692235112,1.64406284e-11,.692235112,-0.721672177,0)x.C0=CFrame.new(0,-0.0399827957,0,-1,0,0,0,0,1,0,1,0)elseif u=="\083\116\097\110\100"and(L and x)then o.C0=CFrame.new(0,0,0,-1,0,0,0,0,1,0,1,0)R.C0=CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0)I.C0=CFrame.new(-1,-1,0,0,0,-1,0,1,0,1,0,0)x.C0=CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,0)elseif u=="\076\101\097\110\082\105\103\104\116"then o.C1=CFrame.new(0,.200000003,0,-0.939692616,0,-0.342020124,-0.342020124,0,.939692616,0,1,0)R.C1=CFrame.new(.300000012,.600000024,0,0,.342020124,.939692616,0,.939692616,-0.342020124,-1,0,0)x.C1=CFrame.new(-0.400000006,-0.300000012,0,-1,0,0,0,0,1,0,1,0)elseif u=="\076\101\097\110\076\101\102\116"then o.C1=CFrame.new(0,.200000003,0,-0.939692616,0,.342020124,.342020124,0,.939692616,0,1,0)I.C1=CFrame.new(-0.300000012,.600000024,0,0,-0.342020124,-0.939692616,0,.939692616,-0.342020124,1,0,0)x.C1=CFrame.new(.400000006,-0.300000012,0,-1,0,0,0,0,1,0,1,0)elseif u=="\085\110\108\101\097\110"then o.C1=CFrame.new(0,0,0,-1,0,0,0,0,1,0,1,0)R.C1=CFrame.new(.5,1,0,0,0,1,0,1,0,-1,0,0)I.C1=CFrame.new(-0.5,1,0,0,0,-1,0,1,0,1,0,0)if b:FindFirstChild("\067\108\111\110\101")then x.C1=CFrame.new(0,-0.5,0,-1,0,0,0,0,1,0,1,0)end elseif u=="\080\097\116\114\111\108"then L_19_.C1=v elseif u=="\085\110\112\097\116\114\111\108"then L_19_.C1=CFrame.new()end end)L_38_.OnServerEvent:connect(function(N,u,v,L,b,o,R)local I=Instance.new("\080\097\114\116",workspace)I.FormFactor="\067\117\115\116\111\109"I.TopSurface=0 I.BottomSurface=0 I.Transparency=1 I.Anchored=true I.CanCollide=false I.Size=Vector3.new(.5,0,.5)I.CFrame=CFrame.new(u)*CFrame.fromAxisAngle(v.magnitude==0 and Vector3.new(1)or v.unit,L)I.BrickColor=BrickColor.new("\082\101\097\108\108\121 \098\108\097\099\107")I.Material="\083\109\111\111\116\104\080\108\097\115\116\105\099"local x=Instance.new("\068\101\099\097\108",I)x.Texture="\114\098\120\097\115\115\101\116\105\100\058\047\047\054\052\050\057\049\057\055\055"x.Face="\084\111\112"game.Debris:AddItem(x,3)local a=Instance.new("\080\111\105\110\116\076\105\103\104\116",I)a.Color=Color3.new(0,0,0)a.Range=0 a.Shadows=true for N,v in pairs(game.Players:GetChildren())do if v:IsA("\080\108\097\121\101\114")and(v.Character and(v.Character.HumanoidRootPart and(v.Character.HumanoidRootPart.Position-u).magnitude<=30))then local N=Instance.new("\083\111\117\110\100")N.Name="\067\114\097\099\107"if R.Material==Enum.Material.Grass or R.Material==Enum.Material.Ice or R.Material==Enum.Material.Fabric or R.Material==Enum.Material.Pebble then N.SoundId="\114\098\120\097\115\115\101\116\105\100\058\047\047"..L_45_[math.random(1,#L_45_)]end if R.Material==Enum.Material.Sand then N.SoundId="\114\098\120\097\115\115\101\116\105\100\058\047\047"..L_46_[math.random(1,#L_46_)]end if R.Material==Enum.Material.Glass or R.Material==Enum.Material.Neon then N.SoundId="\114\098\120\097\115\115\101\116\105\100\058\047\047"..L_47_[math.random(1,#L_47_)]end if R.Material==Enum.Material.Wood or R.Material==Enum.Material.WoodPlanks then N.SoundId="\114\098\120\097\115\115\101\116\105\100\058\047\047"..L_48_[math.random(1,#L_48_)]end if R.Material==Enum.Material.Metal or R.Material==Enum.Material.CorrodedMetal or R.Material==Enum.Material.DiamondPlate then N.SoundId="\114\098\120\097\115\115\101\116\105\100\058\047\047"..L_49_[math.random(1,#L_49_)]end if R.Material==Enum.Material.Water then N.SoundId="\114\098\120\097\115\115\101\116\105\100\058\047\047"..L_50_[math.random(1,#L_50_)]end if R.Material==Enum.Material.Concrete or R.Material==Enum.Material.Plastic or R.Material==Enum.Material.SmoothPlastic or R.Material==Enum.Material.Slate or R.Material==Enum.Material.Foil or R.Material==Enum.Material.Brick or R.Material==Enum.Material.Granite or R.Material==Enum.Material.Marble or R.Material==Enum.Material.Cobblestone then N.SoundId="\114\098\120\097\115\115\101\116\105\100\058\047\047"..L_51_[math.random(1,#L_51_)]end N.EmitterSize=10 N.MaxDistance=30 N.Parent=v.PlayerGui N:play()game.Debris:AddItem(I,3)end end local e local z if o=="\080\097\114\116"then e=(L_31_:WaitForChild("\083\112\097\114\107")):clone()e.Parent=I e.EmissionDirection="\084\111\112"z=(L_31_:WaitForChild("\083\109\111\107\101")):clone()z.Parent=I z.EmissionDirection="\084\111\112"e.Enabled=true z.Enabled=true game.Debris:AddItem(e,1)game.Debris:AddItem(z,1)delay(.1,function()e.Enabled=false z.Enabled=false end)elseif o=="\072\117\109\097\110"then e=(L_31_:WaitForChild("\066\108\111\111\100")):clone()e.Parent=I e.EmissionDirection="\084\111\112"e.Enabled=true game.Debris:AddItem(e,1)delay(.1,function()e.Enabled=false end)end end)L_40_.OnServerEvent:connect(function(N,u)L_40_:FireAllClients(N,u)end)L_41_.OnServerEvent:connect(function(N,u)local v=Instance.new("\080\097\114\116",workspace)v.Size=Vector3.new(.1,.1,.1)v.Transparency=1 v.CanCollide=false v.Anchored=true v.Position=u local L=Instance.new("\069\120\112\108\111\115\105\111\110",workspace)L.Position=u L.BlastPressure=L_12_.BlastPressue L.BlastRadius=L_12_.BlastRadius L.DestroyJointRadiusPercent=L_12_.DestroyJointRadius L.ExplosionType=L_12_.ExplosionType local b=(L_31_:WaitForChild("\069\120\112\108\111\115\105\111\110\083\111\117\110\100")):clone()b.Parent=v b:Play();(game:GetService("\068\101\098\114\105\115")):AddItem(v,b.TimeLength)end)L_43_.OnServerEvent:connect(function(N,u)for N,v in pairs(game.Players:GetChildren())do if v:IsA("\080\108\097\121\101\114")and(v.PlayerGui:FindFirstChild("\077\097\105\110\071\117\105")and v.PlayerGui.MainGui:FindFirstChild("\083\104\097\100\105\110\103"))then for N,L in pairs(v.Character:GetChildren())do if L:IsA("\084\111\111\108")and(L:FindFirstChild("\082\101\115\111\117\114\099\101")and(L.Resource:FindFirstChild("\069\118\101\110\116\115")and L.Resource.Events:FindFirstChild("\083\101\114\118\101\114\070\088\069\118\101\110\116")))then L.Resource.Events.ServerFXEvent:FireClient(v,u,L_2_)end end end end end)L_44_.OnServerEvent:connect(function(N,u,v)u.SoundId="\114\098\120\097\115\115\101\116\105\100\058\047\047"..v u:Play()end)

L_34_.OnServerEvent:connect(function(L_84_arg1)	
	for L_85_forvar1, L_86_forvar2 in pairs(L_30_:GetChildren()) do
		if L_86_forvar2.Name:sub(1, 7) == "FlashFX" then
			L_86_forvar2.Enabled = true
		end
	end;

	delay(1 / 30, function()
		for L_87_forvar1, L_88_forvar2 in pairs(L_30_:GetChildren()) do
			if L_88_forvar2.Name:sub(1, 7) == "FlashFX" then
				L_88_forvar2.Enabled = false
			end
		end
	end);
end)

local L_52_
L_35_.OnServerEvent:connect(function(L_89_arg1, L_90_arg2, L_91_arg3)
	L_90_arg2:TakeDamage(L_91_arg3)
	if L_90_arg2.Health <= 0 and L_90_arg2 ~= L_52_ then
		if L_4_ and L_4_:FindFirstChild(L_2_.Name) then
			local L_92_ = L_4_[L_2_.Name]
			L_92_.Value = not L_92_.Value
		end
		L_39_:FireClient(L_89_arg1)
		L_52_ = L_90_arg2
	end
end)

L_36_.OnServerEvent:connect(function(L_93_arg1, L_94_arg2)
	local L_95_ = Instance.new("ObjectValue")
	L_95_.Name = "creator"
	L_95_.Value = L_93_arg1
	L_95_.Parent = L_94_arg2
	game.Debris:AddItem(L_95_, 3)
end)

L_37_.OnServerEvent:connect(function(L_96_arg1, L_97_arg2, L_98_arg3)
	local L_99_ = L_96_arg1.Character
	local L_100_ = L_99_:FindFirstChild('Torso')
	local L_101_ = L_99_:FindFirstChild('HumanoidRootPart'):FindFirstChild('RootJoint')
	local L_102_ = L_100_:FindFirstChild('Right Hip')
	local L_103_ = L_100_:FindFirstChild('Left Hip')
	local L_104_ = L_100_:FindFirstChild('Clone')
	
	if L_97_arg2 == "Prone" and L_99_ and L_104_ then
		L_101_.C0 = CFrame.new(0, -2.4201169, -0.0385534465, -0.99999994, -5.86197757e-012, -4.54747351e-013, 5.52669195e-012, 0.998915195, 0.0465667509, 0, 0.0465667509, -0.998915195)
		L_102_.C0 = CFrame.new(1.00000191, -1, -5.96046448e-008, 1.31237243e-011, -0.344507754, 0.938783348, 0, 0.938783467, 0.344507784, -1, 0, -1.86264515e-009)
		L_103_.C0 = CFrame.new(-0.999996185, -1, -1.1920929e-007, -2.58566502e-011, 0.314521015, -0.949250221, 0, 0.94925046, 0.314521164, 1, 3.7252903e-009, 1.86264515e-009)			
		L_104_.C0 = CFrame.new(0, -2.04640698, -0.799179077, -1, 0, -8.57672189e-15, 8.57672189e-15, 0, 1, 0, 1, 0)	
	elseif L_97_arg2 == "Crouch" and L_99_ and L_104_ then
		L_101_.C0 = CFrame.new(0, -1.04933882, 0, -1, 0, -1.88871293e-012, 1.88871293e-012, -3.55271368e-015, 1, 0, 1, -3.55271368e-015)
		L_102_.C0 = CFrame.new(1, 0.0456044674, -0.494239986, 6.82121026e-013, -1.22639676e-011, 1, -0.058873821, 0.998265445, -1.09836602e-011, -0.998265445, -0.058873821, 0)
		L_103_.C0 = CFrame.new(-1.00000381, -0.157019258, -0.471293032, -8.7538865e-012, -8.7538865e-012, -1, 0.721672177, 0.692235112, 1.64406284e-011, 0.692235112, -0.721672177, 0)
		L_104_.C0 = CFrame.new(0, -0.0399827957, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
	elseif L_97_arg2 == "Stand" and L_99_ and L_104_ then	
		L_101_.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
		L_102_.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
		L_103_.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
		L_104_.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
	elseif L_97_arg2 == "LeanRight" then
		L_101_.C1 = CFrame.new(0, 0.200000003, 0, -0.939692616, 0, -0.342020124, -0.342020124, 0, 0.939692616, 0, 1, 0)
		L_102_.C1 = CFrame.new(0.300000012, 0.600000024, 0, 0, 0.342020124, 0.939692616, 0, 0.939692616, -0.342020124, -1, 0, 0)
		L_104_.C1 = CFrame.new(-0.400000006, -0.300000012, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
	elseif L_97_arg2 == "LeanLeft" then
		L_101_.C1 = CFrame.new(0, 0.200000003, 0, -0.939692616, 0, 0.342020124, 0.342020124, 0, 0.939692616, 0, 1, 0)
		L_103_.C1 = CFrame.new(-0.300000012, 0.600000024, 0, 0, -0.342020124, -0.939692616, 0, 0.939692616, -0.342020124, 1, 0, 0)
		L_104_.C1 = CFrame.new(0.400000006, -0.300000012, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
	elseif L_97_arg2 == "Unlean" then
		L_101_.C1 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
		L_102_.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
		L_103_.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
		if L_100_:FindFirstChild('Clone') then
			L_104_.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
		end
	elseif L_97_arg2 == "Patrol" then
		L_19_.C1 = L_98_arg3
	elseif L_97_arg2 == "Unpatrol" then
		L_19_.C1 = CFrame.new()
	end
end)

L_38_.OnServerEvent:connect(function(L_105_arg1, L_106_arg2, L_107_arg3, L_108_arg4, L_109_arg5, L_110_arg6, L_111_arg7)
	local L_112_ = Instance.new("Part", workspace)
	L_112_.FormFactor = "Custom"
	L_112_.TopSurface = 0
	L_112_.BottomSurface = 0
	L_112_.Transparency = 1
	L_112_.Anchored = true
	L_112_.CanCollide = false
	L_112_.Size = Vector3.new(0.5, 0, 0.5)
	L_112_.CFrame = CFrame.new(L_106_arg2) * CFrame.fromAxisAngle(L_107_arg3.magnitude == 0 and Vector3.new(1) or L_107_arg3.unit, L_108_arg4)
	L_112_.BrickColor = BrickColor.new("Really black")
	L_112_.Material = "SmoothPlastic"

	local L_113_ = Instance.new("Decal", L_112_)
	L_113_.Texture = "rbxassetid://64291977"
	L_113_.Face = "Top"
	game.Debris:AddItem(L_113_, 3)
	
	local L_114_ = Instance.new("PointLight", L_112_)
	L_114_.Color = Color3.new(0, 0, 0)
	L_114_.Range = 0
	L_114_.Shadows = true
	
	for L_117_forvar1, L_118_forvar2 in pairs(game.Players:GetChildren()) do
		if L_118_forvar2:IsA('Player') and L_118_forvar2.Character and L_118_forvar2.Character.HumanoidRootPart and (L_118_forvar2.Character.HumanoidRootPart.Position - L_106_arg2).magnitude <= 30 then
			local L_119_ = Instance.new("Sound")
			L_119_.Name = "Crack"	
			
			if L_111_arg7.Material == Enum.Material.Grass or L_111_arg7.Material == Enum.Material.Ice or L_111_arg7.Material == Enum.Material.Fabric or L_111_arg7.Material == Enum.Material.Pebble then
				L_119_.SoundId = "rbxassetid://" .. L_45_[math.random(1, #L_45_)]
			end
			
			if L_111_arg7.Material == Enum.Material.Sand then
				L_119_.SoundId = "rbxassetid://" .. L_46_[math.random(1, #L_46_)]
			end
			
			if L_111_arg7.Material == Enum.Material.Glass or L_111_arg7.Material == Enum.Material.Neon then
				L_119_.SoundId = "rbxassetid://" .. L_47_[math.random(1, #L_47_)]
			end
			
			if L_111_arg7.Material == Enum.Material.Wood or L_111_arg7.Material == Enum.Material.WoodPlanks then
				L_119_.SoundId = "rbxassetid://" .. L_48_[math.random(1, #L_48_)]
			end
			
			if L_111_arg7.Material == Enum.Material.Metal or L_111_arg7.Material == Enum.Material.CorrodedMetal or L_111_arg7.Material == Enum.Material.DiamondPlate then
				L_119_.SoundId = "rbxassetid://" .. L_49_[math.random(1, #L_49_)]
			end
			
			if L_111_arg7.Material == Enum.Material.Water then
				L_119_.SoundId = "rbxassetid://" .. L_50_[math.random(1, #L_50_)]
			end
			
			if L_111_arg7.Material == Enum.Material.Concrete or L_111_arg7.Material == Enum.Material.Plastic or L_111_arg7.Material == Enum.Material.SmoothPlastic or L_111_arg7.Material == Enum.Material.Slate or L_111_arg7.Material == Enum.Material.Foil or L_111_arg7.Material == Enum.Material.Brick or L_111_arg7.Material == Enum.Material.Granite or L_111_arg7.Material == Enum.Material.Marble or L_111_arg7.Material == Enum.Material.Cobblestone then
				L_119_.SoundId = "rbxassetid://" .. L_51_[math.random(1, #L_51_)]
			end	
			
			L_119_.EmitterSize = 10
			L_119_.MaxDistance = 30
			L_119_.Parent = L_118_forvar2.PlayerGui
			L_119_:play()
			
			game.Debris:AddItem(L_112_, 3)
		end
	end;
	
	local L_115_
	local L_116_
		
	if L_110_arg6 == "Part" then
		L_115_ = L_31_:WaitForChild("Spark"):clone()
		L_115_.Parent = L_112_
		L_115_.EmissionDirection = "Top"
		
		L_116_ = L_31_:WaitForChild("Smoke"):clone()
		L_116_.Parent = L_112_
		L_116_.EmissionDirection = "Top"
		
		L_115_.Enabled = true
		L_116_.Enabled = true
		
		game.Debris:AddItem(L_115_, 1)
		game.Debris:AddItem(L_116_, 1)
		
		delay(0.1, function()
			L_115_.Enabled = false
			L_116_.Enabled = false
		end)
	elseif L_110_arg6 == "Human" then		
		L_115_ = L_31_:WaitForChild("Blood"):clone()
		L_115_.Parent = L_112_
		L_115_.EmissionDirection = "Top"
		L_115_.Enabled = true
		
		game.Debris:AddItem(L_115_, 1)
		
		delay(0.1, function()
			L_115_.Enabled = false
		end)
	end
end)

L_40_.OnServerEvent:connect(function(L_120_arg1, L_121_arg2)
	L_40_:FireAllClients(L_120_arg1, L_121_arg2)
end)

L_41_.OnServerEvent:connect(function(L_122_arg1, L_123_arg2)
	local L_124_ = Instance.new('Part', workspace)
	L_124_.Size = Vector3.new(0.1, 0.1, 0.1)
	L_124_.Transparency = 1
	L_124_.CanCollide = false
	L_124_.Anchored = true
	L_124_.Position = L_123_arg2
	local L_125_ = Instance.new('Explosion', workspace)
	L_125_.Position = L_123_arg2
	L_125_.BlastPressure = L_12_.BlastPressue
	L_125_.BlastRadius = L_12_.BlastRadius
	L_125_.DestroyJointRadiusPercent = L_12_.DestroyJointRadius
	L_125_.ExplosionType = L_12_.ExplosionType
	local L_126_ = L_31_:WaitForChild('ExplosionSound'):clone()
	L_126_.Parent = L_124_
	L_126_:Play()
	game:GetService('Debris'):AddItem(L_124_, L_126_.TimeLength)
end)

L_43_.OnServerEvent:connect(function(L_127_arg1, L_128_arg2)
	for L_129_forvar1, L_130_forvar2 in pairs(game.Players:GetChildren()) do
		if L_130_forvar2:IsA('Player') and L_130_forvar2.PlayerGui:FindFirstChild('MainGui') and L_130_forvar2.PlayerGui.MainGui:FindFirstChild('Shading') then
			for L_131_forvar1, L_132_forvar2 in pairs(L_130_forvar2.Character:GetChildren()) do
				if L_132_forvar2:IsA('Tool') and L_132_forvar2:FindFirstChild('Resource') and L_132_forvar2.Resource:FindFirstChild('Events') and L_132_forvar2.Resource.Events:FindFirstChild('ServerFXEvent') then
					L_132_forvar2.Resource.Events.ServerFXEvent:FireClient(L_130_forvar2, L_128_arg2, L_2_)
				end	
			end
		end
	end
end)

L_44_.OnServerEvent:connect(function(L_133_arg1, L_134_arg2, L_135_arg3)
	L_134_arg2.SoundId = 'rbxassetid://' .. L_135_arg3
	L_134_arg2:Play()
end)
