--// Events
L_30_.OnServerEvent:connect(function(L_77_arg1)	
	for L_78_forvar1, L_79_forvar2 in pairs(L_26_:GetChildren()) do
		if L_79_forvar2.Name:sub(1, 7) == "FlashFX" then
			L_79_forvar2.Enabled = true
		end
	end;

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

L_31_.OnServerEvent:connect(function(L_82_arg1, L_83_arg2, L_84_arg3)
	L_83_arg2:TakeDamage(L_84_arg3)
	if L_83_arg2.Health <= 0 then
		L_35_:FireClient(L_82_arg1)
	end
end)

L_32_.OnServerEvent:connect(function(L_85_arg1, L_86_arg2)
	local L_87_ = Instance.new("ObjectValue")
	L_87_.Name = "creator"
	L_87_.Value = L_85_arg1
	L_87_.Parent = L_86_arg2
	game.Debris:AddItem(L_87_, 3)
end)

L_33_.OnServerEvent:connect(function(L_88_arg1, L_89_arg2)
	local L_90_ = L_88_arg1.Character
	local L_91_ = L_90_:FindFirstChild('Torso')
	local L_92_ = L_90_:FindFirstChild('HumanoidRootPart'):FindFirstChild('RootJoint')
	local L_93_ = L_91_:FindFirstChild('Right Hip')
	local L_94_ = L_91_:FindFirstChild('Left Hip')
	local L_95_ = L_91_:FindFirstChild('Clone')
	
	if L_89_arg2 == "Prone" and L_90_ and L_95_ then
		L_92_.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_93_.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_94_.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_95_.C0 = CFrame.new(0, -2.04640698, -0.799179077, -1, 0, -8.57672189e-15, 8.57672189e-15, 0, 1, 0, 1, 0)	
	elseif L_89_arg2 == "Crouch" and L_90_ and L_95_ then
		L_92_.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_93_.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_94_.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_95_.C0 = CFrame.new(0, -0.0399827957, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
	elseif L_89_arg2 == "Stand" and L_90_ and L_95_ then	
		L_92_.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
		L_93_.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
		L_94_.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
		L_95_.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
	elseif L_89_arg2 == "LeanRight" then
		L_92_.C1 = CFrame.new(0, 0.200000003, 0, -0.939692616, 0, -0.342020124, -0.342020124, 0, 0.939692616, 0, 1, 0)
		L_93_.C1 = CFrame.new(0.300000012, 0.600000024, 0, 0, 0.342020124, 0.939692616, 0, 0.939692616, -0.342020124, -1, 0, 0)
		L_95_.C1 = CFrame.new(-0.400000006, -0.300000012, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
	elseif L_89_arg2 == "LeanLeft" then
		L_92_.C1 = CFrame.new(0, 0.200000003, 0, -0.939692616, 0, 0.342020124, 0.342020124, 0, 0.939692616, 0, 1, 0)
		L_94_.C1 = CFrame.new(-0.300000012, 0.600000024, 0, 0, -0.342020124, -0.939692616, 0, 0.939692616, -0.342020124, 1, 0, 0)
		L_95_.C1 = CFrame.new(0.400000006, -0.300000012, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
	elseif L_89_arg2 == "Unlean" then
		L_92_.C1 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
		L_93_.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
		L_94_.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
		if L_91_:FindFirstChild('Clone') then
			L_95_.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
		end
	end
end)

function L_34_.OnServerInvoke(L_96_arg1, L_97_arg2, L_98_arg3, L_99_arg4, L_100_arg5, L_101_arg6, L_102_arg7)
	local L_103_ = Instance.new("Part", workspace)
	L_103_.FormFactor = "Custom"
	L_103_.TopSurface = 0
	L_103_.BottomSurface = 0
	L_103_.Transparency = 1
	L_103_.Anchored = true
	L_103_.CanCollide = false
	L_103_.Size = Vector3.new(0.5, 0, 0.5)
	L_103_.CFrame = CFrame.new(L_97_arg2) * CFrame.fromAxisAngle(L_98_arg3.magnitude == 0 and Vector3.new(1) or L_98_arg3.unit, L_99_arg4)
	L_103_.BrickColor = BrickColor.new("Really black")
	L_103_.Material = "SmoothPlastic"

	local L_104_ = Instance.new("Decal", L_103_)
	L_104_.Texture = "rbxassetid://64291977"
	L_104_.Face = "Top"
	game.Debris:AddItem(L_104_, 3)
	
	local L_105_ = Instance.new("PointLight", L_103_)
	L_105_.Color = Color3.new(0, 0, 0)
	L_105_.Range = 0
	L_105_.Shadows = true
	
	local L_106_ = Instance.new("Sound")
	L_106_.Name = "Crack"	
	
	if L_101_arg6.Material == Enum.Material.Grass or L_101_arg6.Material == Enum.Material.Ice or L_101_arg6.Material == Enum.Material.Fabric or L_101_arg6.Material == Enum.Material.Pebble then
		L_106_.SoundId = "rbxassetid://" .. L_39_[math.random(1, #L_39_)]
	elseif L_101_arg6.Material == Enum.Material.Sand then
		L_106_.SoundId = "rbxassetid://" .. L_40_[math.random(1, #L_40_)]
	elseif L_101_arg6.Material == Enum.Material.Glass or L_101_arg6.Material == Enum.Material.Neon then
		L_106_.SoundId = "rbxassetid://" .. L_41_[math.random(1, #L_41_)]
	elseif L_101_arg6.Material == Enum.Material.Wood or L_101_arg6.Material == Enum.Material.WoodPlanks then
		L_106_.SoundId = "rbxassetid://" .. L_42_[math.random(1, #L_42_)]
	elseif L_101_arg6.Material == Enum.Material.Metal or L_101_arg6.Material == Enum.Material.CorrodedMetal or L_101_arg6.Material == Enum.Material.DiamondPlate then
		L_106_.SoundId = "rbxassetid://" .. L_43_[math.random(1, #L_43_)]
	elseif L_101_arg6.Material == Enum.Material.Water then
		L_106_.SoundId = "rbxassetid://" .. L_44_[math.random(1, #L_44_)]
	elseif L_101_arg6.Material == Enum.Material.Concrete or L_101_arg6.Material == Enum.Material.Plastic or L_101_arg6.Material == Enum.Material.SmoothPlastic or L_101_arg6.Material == Enum.Material.Slate or L_101_arg6.Material == Enum.Material.Foil or L_101_arg6.Material == Enum.Material.Brick or L_101_arg6.Material == Enum.Material.Granite or L_101_arg6.Material == Enum.Material.Marble or L_101_arg6.Material == Enum.Material.Cobblestone then
		L_106_.SoundId = "rbxassetid://" .. L_45_[math.random(1, #L_45_)]
	end	
	
	L_106_.Volume = math.random(0.8, 1)
	L_106_.EmitterSize = 10
	L_106_.MaxDistance = 30
	L_106_.Pitch = math.random(0, 0.6)
	L_106_.Parent = L_103_
	L_106_:play()
	
	game.Debris:AddItem(L_106_, 1)
	
	game.Debris:AddItem(L_103_, 3)
	
	local L_107_
	local L_108_
		
	if L_101_arg6 == "Part" then
		L_107_ = L_27_:WaitForChild("Spark"):clone()
		L_107_.Parent = L_103_
		L_107_.EmissionDirection = "Top"
		
		L_108_ = L_27_:WaitForChild("Smoke"):clone()
		L_108_.Parent = L_103_
		L_108_.EmissionDirection = "Top"
		
		L_107_.Enabled = true
		L_108_.Enabled = true
		
		game.Debris:AddItem(L_107_, 1)
		game.Debris:AddItem(L_108_, 1)
		
		delay(0.1, function()
			L_107_.Enabled = false
			L_108_.Enabled = false
		end)
	elseif L_101_arg6 == "Human" then		
		L_107_ = L_27_:WaitForChild("Blood"):clone()
		L_107_.Parent = L_103_
		L_107_.EmissionDirection = "Top"
		L_107_.Enabled = true
		
		game.Debris:AddItem(L_107_, 1)
		
		delay(0.1, function()
			L_107_.Enabled = false
		end)
	end
	return L_103_
end;

L_36_.OnServerEvent:connect(function(L_109_arg1, L_110_arg2)
	L_36_:FireAllClients(L_109_arg1, L_110_arg2)
end)

L_37_.OnServerEvent:connect(function(L_111_arg1, L_112_arg2)
	local L_113_ = Instance.new('Part', workspace)
	L_113_.Size = Vector3.new(0.1, 0.1, 0.1)
	L_113_.Transparency = 1
	L_113_.CanCollide = false
	L_113_.Anchored = true
	L_113_.Position = L_112_arg2
	local L_114_ = Instance.new('Explosion', workspace)
	L_114_.Position = L_112_arg2
	L_114_.BlastPressure = L_11_.BlastPressue
	L_114_.BlastRadius = L_11_.BlastRadius
	L_114_.DestroyJointRadiusPercent = L_11_.DestroyJointRadius
	L_114_.ExplosionType = L_11_.ExplosionType
	local L_115_ = L_27_:WaitForChild('ExplosionSound'):clone()
	L_115_.Parent = L_113_
	L_115_:Play()
	game:GetService('Debris'):AddItem(L_113_, L_115_.TimeLength)
end)