function Prone()L_87_:FireServer("\080\114\111\110\101");(L_14_:Create(L_3_:WaitForChild("\072\117\109\097\110\111\105\100"),TweenInfo.new(.3),{CameraOffset=Vector3.new(0,-3,0)})):Play();(L_3_:WaitForChild("\072\117\109\097\110\111\105\100")).WalkSpeed=4 L_127_=4 L_126_=.025 L_47_=true L_67_=.01 L_66_=-0.05 L_68_=.05 Proned2=Vector3.new(0,.5,.5)L_102_(L_9_,CFrame.new(0,-2.4201169,-0.0385534465,-0.99999994,-5.86197757e-12,-4.54747351e-13,5.52669195e-12,.998915195,.0465667509,0,.0465667509,-0.998915195),nil,function(c)return math.sin(math.rad(c))end,.25)L_102_(L_10_,CFrame.new(1.00000191,-1,-5.96046448e-08,1.31237243e-11,-0.344507754,.938783348,0,.938783467,.344507784,-1,0,-1.86264515e-09),nil,function(c)return math.sin(math.rad(c))end,.25)L_102_(L_11_,CFrame.new(-0.999996185,-1,-1.1920929e-07,-2.58566502e-11,.314521015,-0.949250221,0,.94925046,.314521164,1,3.7252903e-09,1.86264515e-09),nil,function(c)return math.sin(math.rad(c))end,.25)end function Stand()L_87_:FireServer("\083\116\097\110\100");(L_14_:Create(L_3_:WaitForChild("\072\117\109\097\110\111\105\100"),TweenInfo.new(.3),{CameraOffset=Vector3.new(0,0,0)})):Play()L_47_=false if not L_46_ then(L_3_:WaitForChild("\072\117\109\097\110\111\105\100")).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("\072\117\109\097\110\111\105\100")).WalkSpeed=16 L_127_=10 L_126_=.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(c)return math.sin(math.rad(c))end,.25)L_102_(L_10_,CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0),nil,function(c)return math.sin(math.rad(c))end,.25)L_102_(L_11_,CFrame.new(-1,-1,0,0,0,-1,0,1,0,1,0,0),nil,function(c)return math.sin(math.rad(c))end,.25)end function Crouch()L_87_:FireServer("\067\114\111\117\099\104");(L_14_:Create(L_3_:WaitForChild("\072\117\109\097\110\111\105\100"),TweenInfo.new(.3),{CameraOffset=Vector3.new(0,-1,0)})):Play();(L_3_:WaitForChild("\072\117\109\097\110\111\105\100")).WalkSpeed=9 L_127_=9 L_126_=.035 L_47_=true L_67_=.02 L_66_=-0.05 L_68_=.05 Proned2=Vector3.new(0,0,0)L_102_(L_9_,CFrame.new(0,-1.04933882,0,-1,0,-1.88871293e-12,1.88871293e-12,-3.55271368e-15,1,0,1,-3.55271368e-15),nil,function(c)return math.sin(math.rad(c))end,.25)L_102_(L_10_,CFrame.new(1,.0456044674,-0.494239986,6.82121026e-13,-1.22639676e-11,1,-0.058873821,.998265445,-1.09836602e-11,-0.998265445,-0.058873821,0),nil,function(c)return math.sin(math.rad(c))end,.25)L_102_(L_11_,CFrame.new(-1.00000381,-0.157019258,-0.471293032,-8.7538865e-12,-8.7538865e-12,-1,.721672177,.692235112,1.64406284e-11,.692235112,-0.721672177,0),nil,function(c)return math.sin(math.rad(c))end,.25)L_102_(L_6_:WaitForChild("\078\101\099\107"),nil,CFrame.new(0,-0.5,0,-1,0,0,0,0,1,0,1,0),function(c)return math.sin(math.rad(c))end,.25)end local c=false L_82_.InputBegan:connect(function(T,m)if not m and L_15_==true then if L_15_ then if T.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 c=true end end if T.KeyCode==Enum.KeyCode.X then if L_70_==2 and(not L_49_ and L_15_)then c=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)

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)
