--// Renders

local L_136_

L_81_:connect(function()
	if L_15_ then
		L_131_, L_132_ = L_131_ or 0, L_132_ or 0
		if L_134_ == nil or L_133_ == nil then
			L_134_ = L_30_.C0
			L_133_ = L_30_.C1
		end
		
		local L_239_ = (math.sin(L_125_ * L_127_ / 2) * L_126_)
		local L_240_ = (math.sin(L_125_ * L_127_) * L_126_)
		local L_241_ = CFrame.new(L_239_, L_240_, 0.02)
				
		
		local L_242_ = (math.sin(L_121_ * L_124_ / 2) * L_123_)
		local L_243_ = (math.cos(L_121_ * L_124_) * L_123_)
		local L_244_ = CFrame.new(L_242_, L_243_, 0.02)
		
		if L_118_ then
			L_125_ = L_125_ + .017
			if L_23_.WalkAnimEnabled == true then
				L_119_ = L_241_
			else
				L_119_ = CFrame.new()
			end
		else
			L_125_ = 0
			L_119_ = CFrame.new()
		end
		
		L_117_.t = Vector3.new(L_112_, L_113_, 0)
		local L_245_ = L_117_.p
		local L_246_ = L_245_.X / L_114_ * (L_46_ and L_116_ or L_115_)
		local L_247_ = L_245_.Y / L_114_ * (L_46_ and L_116_ or L_115_)
		
		L_5_.CFrame = L_5_.CFrame:lerp(L_5_.CFrame * L_120_, 0.2)
		
		if L_46_ then
			L_108_ = CFrame.Angles(math.rad(-L_246_), math.rad(L_246_), math.rad(L_247_)) * CFrame.fromAxisAngle(Vector3.new(5, 0, -1), math.rad(L_246_))	
			L_121_ = 0
			L_122_ = CFrame.new()
		elseif not L_46_ then
			L_108_ = CFrame.Angles(math.rad(-L_247_), math.rad(-L_246_), math.rad(-L_246_)) * CFrame.fromAxisAngle(L_29_.Position, math.rad(-L_247_))
			L_121_ = L_121_ + 0.017			
			L_122_ = L_244_
		end
		
		if L_23_.SwayEnabled ==  true then
			L_30_.C0 = L_30_.C0:lerp(L_134_ * L_108_ * L_119_ * L_122_, 0.1)
		else
			L_30_.C0 = L_30_.C0:lerp(L_134_ * L_119_, 0.1)
		end		
		
		if L_49_ and not L_52_ and L_54_ and not L_46_ and not L_48_ and not Shooting then
			L_30_.C1 = L_30_.C1:lerp(L_30_.C0 * L_23_.SprintPos, 0.1)
		elseif not L_49_ and not L_52_ and not L_54_ and not L_46_ and not L_48_ and not Shooting then
			L_30_.C1 = L_30_.C1:lerp(CFrame.new(), 0.1)
		end
		
		if L_46_ and not L_49_ then
			if not L_47_ then
				L_67_ = L_23_.AimCamRecoil
				L_66_ = L_23_.AimGunRecoil
				L_68_ = L_23_.AimKickback
			end
			
			if (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude < 2 then
				L_30_.C1 = L_30_.C1:lerp(L_30_.C0 * CFrame.new(L_105_.position), L_23_.AimSpeed)
				
				L_27_:WaitForChild('Sense'):WaitForChild('Sensitivity').Visible = true
				L_27_:WaitForChild('Sense'):WaitForChild('Sensitivity').Text = L_36_
				L_82_.MouseDeltaSensitivity = L_36_
			end
		elseif not L_46_ and not L_49_ and L_15_ then
			if (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude < 2 then
				L_30_.C1 = L_30_.C1:lerp(CFrame.new(L_105_.position) * L_106_, L_23_.UnaimSpeed)
				
				L_27_:WaitForChild('Sense'):WaitForChild('Sensitivity').Visible = false
				L_27_:WaitForChild('Sense'):WaitForChild('Sensitivity').Text = L_36_
				L_82_.MouseDeltaSensitivity = L_37_
			end			
		end
		
		if Recoiling then
			L_120_ = CFrame.Angles(L_67_, 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_30_.C0 = L_30_.C0:lerp(L_30_.C0 * CFrame.new(0, 0, L_66_) * CFrame.Angles(-math.rad(L_68_), 0, 0), 0.3)
		elseif not Recoiling then	
			L_120_ = CFrame.Angles(0, 0, 0)
			L_30_.C0 = L_30_.C0:lerp(CFrame.new(), 0.2)
		end
		
		if L_47_ then
			L_3_:WaitForChild('Humanoid').Jump = false
		end
		
		if L_15_ then 
			L_5_.FieldOfView = L_5_.FieldOfView * (1 - L_23_.ZoomSpeed) + (L_74_ * L_23_.ZoomSpeed)
			if (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude >= 2 then
				L_67_ = L_23_.AimCamRecoil
				L_66_ = L_23_.AimGunRecoil
				L_68_ = L_23_.AimKickback
				
				L_27_:WaitForChild('Sense'):WaitForChild('Sensitivity').Visible = true
				L_27_:WaitForChild('Sense'):WaitForChild('Sensitivity').Text = L_36_
				L_82_.MouseDeltaSensitivity = L_36_
			elseif (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude < 2 and not L_46_ and not L_47_ then
				L_67_ = L_23_.camrecoil
				L_66_ = L_23_.gunrecoil
				L_68_ = L_23_.Kickback
				
				L_27_:WaitForChild('Sense'):WaitForChild('Sensitivity').Visible = false
				L_27_:WaitForChild('Sense'):WaitForChild('Sensitivity').Text = L_36_
				L_82_.MouseDeltaSensitivity = L_37_
			end
		end
		
		if L_15_ and L_23_.CameraGo then --and (char.Head.Position - cam.CoordinateFrame.p).magnitude < 2 then
			L_4_.TargetFilter = game.Workspace
			local L_248_ =  L_3_:WaitForChild("HumanoidRootPart").CFrame * CFrame.new(0, 1.5, 0) * CFrame.new(L_3_:WaitForChild("Humanoid").CameraOffset)
			L_33_.C0 = L_8_.CFrame:toObjectSpace(L_248_)
			L_33_.C1 = CFrame.Angles(-math.asin((L_4_.Hit.p - L_4_.Origin.p).unit.y), 0, 0)
			L_82_.MouseIconEnabled = false	
		end
		
		if L_15_ and (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude >= 2 then
			L_4_.Icon = "http://www.roblox.com/asset?id=" .. L_23_.TPSMouseIcon
			L_82_.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)
