--// Renders
local L_161_

L_103_:connect(function()
	if L_15_ then
		L_156_, L_157_ = L_156_ or 0, L_157_ or 0
		if L_159_ == nil or L_158_ == nil then
			L_159_ = L_45_.C0
			L_158_ = L_45_.C1
		end
		
		local L_271_ = (math.sin(L_150_ * L_152_ / 2) * L_151_)
		local L_272_ = (math.sin(L_150_ * L_152_) * L_151_)
		local L_273_ = CFrame.new(L_271_, L_272_, 0.02)
				
		
		local L_274_ = (math.sin(L_146_ * L_149_ / 2) * L_148_)
		local L_275_ = (math.cos(L_146_ * L_149_) * L_148_)
		local L_276_ = CFrame.new(L_274_, L_275_, 0.02)
		
		if L_143_ then
			L_150_ = L_150_ + .017
			if L_24_.WalkAnimEnabled == true then
				L_144_ = L_273_
			else
				L_144_ = CFrame.new()
			end
		else
			L_150_ = 0
			L_144_ = CFrame.new()
		end
		
		L_142_.t = Vector3.new(L_137_, L_138_, 0)
		local L_277_ = L_142_.p
		local L_278_ = L_277_.X / L_139_ * (L_61_ and L_141_ or L_140_)
		local L_279_ = L_277_.Y / L_139_ * (L_61_ and L_141_ or L_140_)
		
		L_5_.CFrame = L_5_.CFrame:lerp(L_5_.CFrame * L_145_, 0.2)
		
		if L_61_ then
			L_133_ = CFrame.Angles(math.rad(-L_278_), math.rad(L_278_), math.rad(L_279_)) * CFrame.fromAxisAngle(Vector3.new(5, 0, -1), math.rad(L_278_))	
			L_146_ = 0
			L_147_ = CFrame.new()
		elseif not L_61_ then
			L_133_ = CFrame.Angles(math.rad(-L_279_), math.rad(-L_278_), math.rad(-L_278_)) * CFrame.fromAxisAngle(L_44_.Position, math.rad(-L_279_))
			L_146_ = L_146_ + 0.017			
			L_147_ = L_276_
		end
		
		if L_24_.SwayEnabled ==  true then
			L_45_.C0 = L_45_.C0:lerp(L_159_ * L_133_ * L_144_ * L_147_, 0.1)
		else
			L_45_.C0 = L_45_.C0:lerp(L_159_ * L_144_, 0.1)
		end		
		
		if L_64_ and not L_67_ and L_69_ and not L_61_ and not L_63_ and not Shooting then
			L_45_.C1 = L_45_.C1:lerp(L_45_.C0 * L_24_.SprintPos, 0.1)
		elseif not L_64_ and not L_67_ and not L_69_ and not L_61_ and not L_63_ and not Shooting and not L_76_ then
			L_45_.C1 = L_45_.C1:lerp(CFrame.new(), 0.1)
		end
		
		if L_61_ and not L_64_ then
			if not L_62_ then
				L_87_ = L_24_.AimCamRecoil
				L_86_ = L_24_.AimGunRecoil
				L_88_ = L_24_.AimKickback
			elseif L_62_ then
				if L_90_ == 1 then
					L_87_ = L_24_.AimCamRecoil / 1.5
					L_86_ = L_24_.AimGunRecoil / 1.5
					L_88_ = L_24_.AimKickback / 1.5
				end
				
				if L_90_ == 2 then
					L_87_ = L_24_.AimCamRecoil / 2
					L_86_ = L_24_.AimGunRecoil / 2
					L_88_ = L_24_.AimKickback / 2
				end
			end
			
			if (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude < 2 then
				L_45_.C1 = L_45_.C1:lerp(L_45_.C0 * L_53_.CFrame:toObjectSpace(L_44_.CFrame), L_24_.AimSpeed)
				
				L_42_:WaitForChild('Sense'):WaitForChild('Sensitivity').Visible = true
				L_42_:WaitForChild('Sense'):WaitForChild('Sensitivity').Text = L_51_
				L_104_.MouseDeltaSensitivity = L_51_
			end
		elseif not L_61_ and not L_64_ and L_15_ and not L_76_ then
			if (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude < 2 then
				L_45_.C1 = L_45_.C1:lerp(CFrame.new(), L_24_.UnaimSpeed)
				
				L_42_:WaitForChild('Sense'):WaitForChild('Sensitivity').Visible = false
				L_42_:WaitForChild('Sense'):WaitForChild('Sensitivity').Text = L_51_
				L_104_.MouseDeltaSensitivity = L_52_
			end	
			
			if not L_62_ then
				L_87_ = L_24_.camrecoil
				L_86_ = L_24_.gunrecoil
				L_88_ = L_24_.Kickback
			elseif L_62_ then
				if L_90_ == 1 then
					L_87_ = L_24_.camrecoil / 1.5
					L_86_ = L_24_.gunrecoil / 1.5
					L_88_ = L_24_.Kickback / 1.5
				end
				
				if L_90_ == 2 then
					L_87_ = L_24_.camrecoil / 2
					L_86_ = L_24_.gunrecoil / 2
					L_88_ = L_24_.Kickback / 2
				end
			end	
		end
		
		if Recoiling then
			L_145_ = CFrame.Angles(L_87_, 0, 0)	
			--cam.CoordinateFrame = cam.CoordinateFrame *  CFrame.fromEulerAnglesXYZ(math.rad(camrecoil*math.random(0,3)), math.rad(camrecoil*math.random(-1,1)), math.rad(camrecoil*math.random(-1,1)))
			L_45_.C0 = L_45_.C0:lerp(L_45_.C0 * CFrame.new(0, 0, L_86_) * CFrame.Angles(-math.rad(L_88_), 0, 0), 0.3)
		elseif not Recoiling then	
			L_145_ = CFrame.Angles(0, 0, 0)
			L_45_.C0 = L_45_.C0:lerp(CFrame.new(), 0.2)
		end
		
		if L_62_ then
			L_3_:WaitForChild('Humanoid').Jump = false
		end
		
		if L_15_ then 
			L_5_.FieldOfView = L_5_.FieldOfView * (1 - L_24_.ZoomSpeed) + (L_94_ * L_24_.ZoomSpeed)
			if (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude >= 2 then
				L_87_ = L_24_.AimCamRecoil
				L_86_ = L_24_.AimGunRecoil
				L_88_ = L_24_.AimKickback
				
				L_42_:WaitForChild('Sense'):WaitForChild('Sensitivity').Visible = true
				L_42_:WaitForChild('Sense'):WaitForChild('Sensitivity').Text = L_51_
				L_104_.MouseDeltaSensitivity = L_51_
			elseif (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude < 2 and not L_61_ and not L_62_ then
				L_87_ = L_24_.camrecoil
				L_86_ = L_24_.gunrecoil
				L_88_ = L_24_.Kickback
				
				L_42_:WaitForChild('Sense'):WaitForChild('Sensitivity').Visible = false
				L_42_:WaitForChild('Sense'):WaitForChild('Sensitivity').Text = L_51_
				L_104_.MouseDeltaSensitivity = L_52_
			end
		end
		
		if L_15_ and L_24_.CameraGo then --and (char.Head.Position - cam.CoordinateFrame.p).magnitude < 2 then
			L_4_.TargetFilter = game.Workspace
			local L_280_ =  L_3_:WaitForChild("HumanoidRootPart").CFrame * CFrame.new(0, 1.5, 0) * CFrame.new(L_3_:WaitForChild("Humanoid").CameraOffset)
			L_48_.C0 = L_8_.CFrame:toObjectSpace(L_280_)
			L_48_.C1 = CFrame.Angles(-math.asin((L_4_.Hit.p - L_4_.Origin.p).unit.y), 0, 0)
			L_104_.MouseIconEnabled = false	
		end
		
		if L_15_ and (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude >= 2 then
			if L_4_.Icon ~= "http://www.roblox.com/asset?id=" .. L_24_.TPSMouseIcon then
				L_4_.Icon = "http://www.roblox.com/asset?id=" .. L_24_.TPSMouseIcon
			end--
			L_104_.MouseIconEnabled = true
			
			if L_3_:FindFirstChild('Right Arm') and L_3_:FindFirstChild('Left Arm') then
				L_3_['Right Arm'].LocalTransparencyModifier = 1
				L_3_['Left Arm'].LocalTransparencyModifier = 1
			end
		end;
	end
end)