--// Events

L_29_.OnServerEvent:connect(function(L_62_arg1)
	L_25_.Fire:Play()
end)

L_30_.OnServerEvent:connect(function(L_63_arg1, L_64_arg2, L_65_arg3)
	L_64_arg2:TakeDamage(L_65_arg3)
end)

L_31_.OnServerEvent:connect(function(L_66_arg1, L_67_arg2)
	local L_68_ = Instance.new("ObjectValue")
	L_68_.Name = "creator"
	L_68_.Value = L_66_arg1
	game.Debris:AddItem(L_68_, 3)
	L_68_.Parent = L_67_arg2
end)

L_32_.OnServerEvent:connect(function(L_69_arg1, L_70_arg2)
	local L_71_ = L_69_arg1.Character
	local L_72_ = L_71_:FindFirstChild('Torso')
	local L_73_ = L_71_:FindFirstChild('HumanoidRootPart'):FindFirstChild('RootJoint')
	local L_74_ = L_72_:FindFirstChild('Right Hip')
	local L_75_ = L_72_:FindFirstChild('Left Hip')
	local L_76_ = L_72_:FindFirstChild('Clone')
	
	if L_70_arg2 == "Prone" and L_71_ and L_76_ then
		L_73_.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_74_.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_75_.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_76_.C0 = CFrame.new(0, -2.04640698, -0.799179077, -1, 0, -8.57672189e-15, 8.57672189e-15, 0, 1, 0, 1, 0)	
	elseif L_70_arg2 == "Crouch" and L_71_ and L_76_ then
		L_73_.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_74_.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_75_.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_76_.C0 = CFrame.new(0, -0.0399827957, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
	elseif L_70_arg2 == "Stand" and L_71_ and L_76_ then	
		L_73_.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
		L_74_.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
		L_75_.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
		L_76_.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
	end
end)

L_33_.OnServerEvent:connect(function(L_77_arg1, L_78_arg2, L_79_arg3, L_80_arg4, L_81_arg5, L_82_arg6)
	local L_83_ = Instance.new("Part", workspace)
	L_83_.FormFactor = "Custom"
	L_83_.TopSurface = 0
	L_83_.BottomSurface = 0
	L_83_.Transparency = 1
	L_83_.Anchored = true
	L_83_.CanCollide = false
	L_83_.Size = Vector3.new(0.5, 0, 0.5)
	L_83_.CFrame = CFrame.new(L_78_arg2) * CFrame.fromAxisAngle(L_79_arg3.magnitude == 0 and Vector3.new(1) or L_79_arg3.unit, L_80_arg4)
	L_83_.BrickColor = BrickColor.new("Really black")
	L_83_.Material = "SmoothPlastic"

	local L_84_ = Instance.new("Decal", L_83_)
	L_84_.Texture = "rbxassetid://64291977"
	L_84_.Face = "Top"
	game.Debris:AddItem(L_84_, 3)
	
	local L_85_ = Instance.new("PointLight", L_83_)
	L_85_.Color = Color3.new(0, 0, 0)
	L_85_.Range = 0
	L_85_.Shadows = true
	
	local L_86_ = Instance.new("Sound")
	L_86_.Name = "Crack"
	L_86_.SoundId = "rbxassetid://" .. L_34_[math.random(1, 13)]
	L_86_.Volume = math.random(0.8, 1)
	L_86_.EmitterSize = 10
	L_86_.MaxDistance = 30
	L_86_.Pitch = math.random(0, 0.6)
	L_86_.Parent = L_83_
	L_86_:play()
	
	game.Debris:AddItem(L_86_, 1)
	
	game.Debris:AddItem(L_83_, 3)
	
	local L_87_
	local L_88_
		
	if L_82_arg6 == "Part" then
		L_87_ = L_26_:WaitForChild("Spark"):clone()
		L_87_.Parent = L_83_
		L_87_.EmissionDirection = "Top"
		
		L_88_ = L_26_:WaitForChild("Smoke"):clone()
		L_88_.Parent = L_83_
		L_88_.EmissionDirection = "Top"
		
		L_87_.Enabled = true
		L_88_.Enabled = true
		
		game.Debris:AddItem(L_87_, 1)
		game.Debris:AddItem(L_88_, 1)
		
		delay(0.1, function()
			L_87_.Enabled = false
			L_88_.Enabled = false
		end)
	elseif L_82_arg6 == "Human" then		
		L_87_ = L_26_:WaitForChild("Blood"):clone()
		L_87_.Parent = L_83_
		L_87_.EmissionDirection = "Top"
		L_87_.Enabled = true
		
		game.Debris:AddItem(L_87_, 1)
		
		delay(0.1, function()
			L_87_.Enabled = false
		end)
	end
end)
