--// Renders
local L_167_

L_109_:connect(function()
	if L_15_ then
		L_162_, L_163_ = L_162_ or 0, L_163_ or 0
		if L_165_ == nil or L_164_ == nil then
			L_165_ = L_45_.C0
			L_164_ = L_45_.C1
		end
		
		local L_275_ = (math.sin(L_156_ * L_158_ / 2) * L_157_)
		local L_276_ = (math.sin(L_156_ * L_158_) * L_157_)
		local L_277_ = CFrame.new(L_275_, L_276_, 0.02)
		
		local L_278_ = (math.sin(L_156_ * L_158_ / 2) * L_157_)
		local L_279_ = (math.sin(L_156_ * L_158_) * L_157_)
		local L_280_ = CFrame.new(L_275_, L_276_, 0.02) * CFrame.Angles((math.cos(L_156_ * L_158_) * L_157_), (math.cos(L_156_ * L_158_ / 2) * L_157_), 0)
		
		local L_281_ = (math.sin(L_152_ * L_155_ / 2) * L_154_)
		local L_282_ = (math.cos(L_152_ * L_155_) * L_154_)
		local L_283_ = CFrame.new(L_281_, L_282_, 0.02)
		
		if L_149_ then
			L_156_ = L_156_ + .017
			if L_24_.WalkAnimEnabled == true then
				L_150_ = L_280_
			else
				L_150_ = CFrame.new()
			end
		else
			L_156_ = 0
			L_150_ = CFrame.new()
		end
		
		L_148_.t = Vector3.new(L_143_, L_144_, 0)
		local L_284_ = L_148_.p
		local L_285_ = L_284_.X / L_145_ * (L_64_ and L_147_ or L_146_)
		local L_286_ = L_284_.Y / L_145_ * (L_64_ and L_147_ or L_146_)
		
		L_5_.CFrame = L_5_.CFrame:lerp(L_5_.CFrame * L_151_, 0.2)
		
		if L_64_ then
			L_139_ = CFrame.Angles(math.rad(-L_285_), math.rad(L_285_), math.rad(L_286_)) * CFrame.fromAxisAngle(Vector3.new(5, 0, -1), math.rad(L_285_))	
			L_152_ = 0
			L_153_ = CFrame.new()
		elseif not L_64_ then
			L_139_ = CFrame.Angles(math.rad(-L_286_), math.rad(-L_285_), math.rad(-L_285_)) * CFrame.fromAxisAngle(L_44_.Position, math.rad(-L_286_))
			L_152_ = L_152_ + 0.017			
			L_153_ = L_283_
		end
		
		if L_24_.SwayEnabled ==  true then
			L_45_.C0 = L_45_.C0:lerp(L_165_ * L_139_ * L_150_ * L_153_, 0.1)
		else
			L_45_.C0 = L_45_.C0:lerp(L_165_ * L_150_, 0.1)
		end		
		
		if L_67_ and not L_70_ and L_72_ and not L_64_ and not L_66_ and not Shooting then
			L_45_.C1 = L_45_.C1:lerp(L_45_.C0 * L_24_.SprintPos, 0.1)
		elseif not L_67_ and not L_70_ and not L_72_ and not L_64_ and not L_66_ and not Shooting and not L_79_ then
			L_45_.C1 = L_45_.C1:lerp(CFrame.new() * L_137_, 0.05)
		end
		
		
		if L_64_ and not L_67_ then
			if not L_65_ then
				L_90_ = L_24_.AimCamRecoil
				L_89_ = L_24_.AimGunRecoil
				L_91_ = L_24_.AimKickback
			elseif L_65_ then
				if L_93_ == 1 then
					L_90_ = L_24_.AimCamRecoil / 1.5
					L_89_ = L_24_.AimGunRecoil / 1.5
					L_91_ = L_24_.AimKickback / 1.5
				end
				
				if L_93_ == 2 then
					L_90_ = L_24_.AimCamRecoil / 2
					L_89_ = L_24_.AimGunRecoil / 2
					L_91_ = 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_56_.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_110_.MouseDeltaSensitivity = L_51_
			end
		elseif not L_64_ and not L_67_ and L_15_ and not L_79_ then
			if (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude < 2 then
				L_45_.C1 = L_45_.C1:lerp(CFrame.new() * L_137_, L_24_.UnaimSpeed)
				
				L_42_:WaitForChild('Sense'):WaitForChild('Sensitivity').Visible = false
				L_42_:WaitForChild('Sense'):WaitForChild('Sensitivity').Text = L_51_
				L_110_.MouseDeltaSensitivity = L_52_
			end	
			
			if not L_65_ then
				L_90_ = L_24_.camrecoil
				L_89_ = L_24_.gunrecoil
				L_91_ = L_24_.Kickback
			elseif L_65_ then
				if L_93_ == 1 then
					L_90_ = L_24_.camrecoil / 1.5
					L_89_ = L_24_.gunrecoil / 1.5
					L_91_ = L_24_.Kickback / 1.5
				end
				
				if L_93_ == 2 then
					L_90_ = L_24_.camrecoil / 2
					L_89_ = L_24_.gunrecoil / 2
					L_91_ = L_24_.Kickback / 2
				end
			end	
		end
		
		if Recoiling then
			if not L_64_ then
				L_151_ = CFrame.fromEulerAnglesXYZ(math.rad(L_90_ * math.random(0, L_24_.CamShake)), math.rad(L_90_ * math.random(-L_24_.CamShake, L_24_.CamShake)), math.rad(L_90_ * math.random(-L_24_.CamShake, L_24_.CamShake)))--CFrame.Angles(camrecoil,0,0)	
			else
				L_151_ = CFrame.fromEulerAnglesXYZ(math.rad(L_90_ * math.random(0, L_24_.AimCamShake)), math.rad(L_90_ * math.random(-L_24_.AimCamShake, L_24_.AimCamShake)), math.rad(L_90_ * math.random(-L_24_.AimCamShake, L_24_.AimCamShake)))
			end
			--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_89_) * CFrame.Angles(-math.rad(L_91_), 0, 0), 0.3)
		elseif not Recoiling then	
			L_151_ = CFrame.Angles(0, 0, 0)
			L_45_.C0 = L_45_.C0:lerp(CFrame.new(), 0.2)
		end
		
		if L_65_ then
			L_3_:WaitForChild('Humanoid').Jump = false
		end
		
		if L_15_ then 
			L_5_.FieldOfView = L_5_.FieldOfView * (1 - L_24_.ZoomSpeed) + (L_97_ * L_24_.ZoomSpeed)
			if (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude >= 2 then
				L_90_ = L_24_.AimCamRecoil
				L_89_ = L_24_.AimGunRecoil
				L_91_ = L_24_.AimKickback
				
				L_42_:WaitForChild('Sense'):WaitForChild('Sensitivity').Visible = true
				L_42_:WaitForChild('Sense'):WaitForChild('Sensitivity').Text = L_51_
				L_110_.MouseDeltaSensitivity = L_51_
			elseif (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude < 2 and not L_64_ and not L_65_ then
				L_90_ = L_24_.camrecoil
				L_89_ = L_24_.gunrecoil
				L_91_ = L_24_.Kickback
				
				L_42_:WaitForChild('Sense'):WaitForChild('Sensitivity').Visible = false
				L_42_:WaitForChild('Sense'):WaitForChild('Sensitivity').Text = L_51_
				L_110_.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_287_ =  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_287_)
			L_48_.C1 = CFrame.Angles(-math.asin((L_4_.Hit.p - L_4_.Origin.p).unit.y), 0, 0)
			L_110_.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_110_.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)