--// Stances
function Prone()
	L_87_:FireServer("Prone")	
	
	L_14_:Create(L_3_:WaitForChild('Humanoid'), TweenInfo.new(0.3), {
		CameraOffset = Vector3.new(0, -3, 0)
	}):Play()
	L_3_:WaitForChild("Humanoid").WalkSpeed = 4
	
	L_127_ = 4
	L_126_ = 0.025
	
	L_47_ = true
	
	L_67_ = 0.01
	L_66_ = -0.05
	L_68_ = 0.05
	
	Proned2 = Vector3.new(0, 0.5, 0.5)
	L_102_(L_9_,  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), nil, function(L_249_arg1)
		return math.sin(math.rad(L_249_arg1))
	end, 0.25)
	L_102_(L_10_,  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) , nil, function(L_250_arg1)
		return math.sin(math.rad(L_250_arg1))
	end, 0.25)
	L_102_(L_11_,  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) , nil, function(L_251_arg1)
		return math.sin(math.rad(L_251_arg1))
	end, 0.25)
end

function Stand()
	L_87_:FireServer("Stand")
	
	L_14_:Create(L_3_:WaitForChild('Humanoid'), TweenInfo.new(0.3), {
		CameraOffset = Vector3.new(0, 0, 0)
	}):Play()
	
	L_47_ = false		
	
	if not L_46_ then
		L_3_:WaitForChild("Humanoid").WalkSpeed = 16
		L_126_ = .2
		L_127_ = 17
		L_67_ = L_23_.camrecoil
		L_66_ = L_23_.gunrecoil
		L_68_ = L_23_.Kickback
	elseif L_46_ then
		L_3_:WaitForChild("Humanoid").WalkSpeed = 16
		L_127_ = 10
		L_126_ = 0.02
		L_67_ = L_23_.AimCamRecoil
		L_66_ = L_23_.AimGunRecoil
		L_68_ = L_23_.AimKickback
	end
	
	Proned2 = Vector3.new(0, 0, 0)
	L_102_(L_9_, CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), nil, function(L_252_arg1)
		return math.sin(math.rad(L_252_arg1))
	end, 0.25)
	L_102_(L_10_,  CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), nil, function(L_253_arg1)
		return math.sin(math.rad(L_253_arg1))
	end, 0.25)
	L_102_(L_11_,  CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), nil, function(L_254_arg1)
		return math.sin(math.rad(L_254_arg1))
	end, 0.25)
end

function Crouch()
	L_87_:FireServer("Crouch")
	
	L_14_:Create(L_3_:WaitForChild('Humanoid'), TweenInfo.new(0.3), {
		CameraOffset = Vector3.new(0, -1, 0)
	}):Play()
	L_3_:WaitForChild("Humanoid").WalkSpeed = 9
	
	L_127_ = 9
	L_126_ = 0.035
	
	L_47_ = true	
	
	L_67_ = 0.02
	L_66_ = -0.05
	L_68_ = 0.05
	
	Proned2 = Vector3.new(0, 0, 0)
	L_102_(L_9_, CFrame.new(0, -1.04933882, 0, -1, 0, -1.88871293e-012, 1.88871293e-012, -3.55271368e-015, 1, 0, 1, -3.55271368e-015), nil, function(L_255_arg1)
		return math.sin(math.rad(L_255_arg1))
	end, 0.25)
	L_102_(L_10_,  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), nil, function(L_256_arg1)
		return math.sin(math.rad(L_256_arg1))
	end, 0.25)
	L_102_(L_11_,  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), nil, function(L_257_arg1)
		return math.sin(math.rad(L_257_arg1))
	end, 0.25)
	L_102_(L_6_:WaitForChild("Neck"), nil, CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), function(L_258_arg1)
		return math.sin(math.rad(L_258_arg1))
	end, 0.25)
end
	
local L_137_ = false

L_82_.InputBegan:connect(function(L_259_arg1, L_260_arg2)
	if not L_260_arg2 and L_15_ == true then
		if L_15_ then
			if L_259_arg1.KeyCode == Enum.KeyCode.C then 
				if L_70_ == 0 and not L_49_ and L_15_ then			
					L_70_ = 1
					Crouch()
				
					L_71_ = false
					L_73_ = true
					L_72_ = false
				elseif L_70_ == 1 and not L_49_ and L_15_ then
					L_70_ = 2
					Prone()
				
					L_73_ = false
					L_71_ = true
					L_72_ = false
					L_137_ = true
				end
			end
							
					
			if L_259_arg1.KeyCode == Enum.KeyCode.X then 
				if L_70_ == 2 and not L_49_ and L_15_ then
					L_137_ = false		
					L_70_ = 1
					Crouch()
					
					L_71_ = false
					L_73_ = true
					L_72_ = false
				elseif L_70_ == 1 and not L_49_ and L_15_ then		
					L_70_ = 0
					Stand()
				
					L_71_ = false
					L_73_ = false
					L_72_ = true
				end
			end
		end
	end
end)