--// Renders

local L_155_

L_99_:connect(function()
	if L_15_ then
		L_150_, L_151_ = L_150_ or 0, L_151_ or 0
		if L_153_ == nil or L_152_ == nil then
			L_153_ = L_44_.C0
			L_152_ = L_44_.C1
		end
		
		local L_261_ = (math.sin(L_144_ * L_146_ / 2) * L_145_)
		local L_262_ = (math.sin(L_144_ * L_146_) * L_145_)
		local L_263_ = CFrame.new(L_261_, L_262_, 0.02)
				
		
		local L_264_ = (math.sin(L_140_ * L_143_ / 2) * L_142_)
		local L_265_ = (math.cos(L_140_ * L_143_) * L_142_)
		local L_266_ = CFrame.new(L_264_, L_265_, 0.02)
		
		if L_137_ then
			L_144_ = L_144_ + .017
			if L_24_.WalkAnimEnabled == true then
				L_138_ = L_263_
			else
				L_138_ = CFrame.new()
			end
		else
			L_144_ = 0
			L_138_ = CFrame.new()
		end
		
		L_136_.t = Vector3.new(L_131_, L_132_, 0)
		local L_267_ = L_136_.p
		local L_268_ = L_267_.X / L_133_ * (L_60_ and L_135_ or L_134_)
		local L_269_ = L_267_.Y / L_133_ * (L_60_ and L_135_ or L_134_)
		
		L_5_.CFrame = L_5_.CFrame:lerp(L_5_.CFrame * L_139_, 0.2)
		
		if L_60_ then
			L_127_ = CFrame.Angles(math.rad(-L_268_), math.rad(L_268_), math.rad(L_269_)) * CFrame.fromAxisAngle(Vector3.new(5, 0, -1), math.rad(L_268_))	
			L_140_ = 0
			L_141_ = CFrame.new()
		elseif not L_60_ then
			L_127_ = CFrame.Angles(math.rad(-L_269_), math.rad(-L_268_), math.rad(-L_268_)) * CFrame.fromAxisAngle(L_43_.Position, math.rad(-L_269_))
			L_140_ = L_140_ + 0.017			
			L_141_ = L_266_
		end
		
		if L_24_.SwayEnabled ==  true then
			L_44_.C0 = L_44_.C0:lerp(L_153_ * L_127_ * L_138_ * L_141_, 0.1)
		else
			L_44_.C0 = L_44_.C0:lerp(L_153_ * L_138_, 0.1)
		end		
		
		if L_63_ and not L_66_ and L_68_ and not L_60_ and not L_62_ and not Shooting then
			L_44_.C1 = L_44_.C1:lerp(L_44_.C0 * L_24_.SprintPos, 0.1)
		elseif not L_63_ and not L_66_ and not L_68_ and not L_60_ and not L_62_ and not Shooting then
			L_44_.C1 = L_44_.C1:lerp(CFrame.new(), 0.1)
		end
		
		if L_60_ and not L_63_ then
			if not L_61_ then
				L_85_ = L_24_.AimCamRecoil
				L_84_ = L_24_.AimGunRecoil
				L_86_ = L_24_.AimKickback
			elseif L_61_ then
				if L_88_ == 1 then
					L_85_ = L_24_.AimCamRecoil / 1.5
					L_84_ = L_24_.AimGunRecoil / 1.5
					L_86_ = L_24_.AimKickback / 1.5
				end
				
				if L_88_ == 2 then
					L_85_ = L_24_.AimCamRecoil / 2
					L_84_ = L_24_.AimGunRecoil / 2
					L_86_ = L_24_.AimKickback / 2
				end
			end
			
			if (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude < 2 then
				L_44_.C1 = L_44_.C1:lerp(L_44_.C0 * L_52_.CFrame:toObjectSpace(L_43_.CFrame), L_24_.AimSpeed)
				
				L_41_:WaitForChild('Sense'):WaitForChild('Sensitivity').Visible = true
				L_41_:WaitForChild('Sense'):WaitForChild('Sensitivity').Text = L_50_
				L_100_.MouseDeltaSensitivity = L_50_
			end
		elseif not L_60_ and not L_63_ and L_15_ then
			if (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude < 2 then
				L_44_.C1 = L_44_.C1:lerp(CFrame.new(), L_24_.UnaimSpeed)
				
				L_41_:WaitForChild('Sense'):WaitForChild('Sensitivity').Visible = false
				L_41_:WaitForChild('Sense'):WaitForChild('Sensitivity').Text = L_50_
				L_100_.MouseDeltaSensitivity = L_51_
			end	
			
			if not L_61_ then
				L_85_ = L_24_.camrecoil
				L_84_ = L_24_.gunrecoil
				L_86_ = L_24_.Kickback
			elseif L_61_ then
				if L_88_ == 1 then
					L_85_ = L_24_.camrecoil / 1.5
					L_84_ = L_24_.gunrecoil / 1.5
					L_86_ = L_24_.Kickback / 1.5
				end
				
				if L_88_ == 2 then
					L_85_ = L_24_.camrecoil / 2
					L_84_ = L_24_.gunrecoil / 2
					L_86_ = L_24_.Kickback / 2
				end
			end	
		end
		
		if Recoiling then
			L_139_ = CFrame.Angles(L_85_, 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_44_.C0 = L_44_.C0:lerp(L_44_.C0 * CFrame.new(0, 0, L_84_) * CFrame.Angles(-math.rad(L_86_), 0, 0), 0.3)
		elseif not Recoiling then	
			L_139_ = CFrame.Angles(0, 0, 0)
			L_44_.C0 = L_44_.C0:lerp(CFrame.new(), 0.2)
		end
		
		if L_61_ then
			L_3_:WaitForChild('Humanoid').Jump = false
		end
		
		if L_15_ then 
			L_5_.FieldOfView = L_5_.FieldOfView * (1 - L_24_.ZoomSpeed) + (L_92_ * L_24_.ZoomSpeed)
			if (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude >= 2 then
				L_85_ = L_24_.AimCamRecoil
				L_84_ = L_24_.AimGunRecoil
				L_86_ = L_24_.AimKickback
				
				L_41_:WaitForChild('Sense'):WaitForChild('Sensitivity').Visible = true
				L_41_:WaitForChild('Sense'):WaitForChild('Sensitivity').Text = L_50_
				L_100_.MouseDeltaSensitivity = L_50_
			elseif (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude < 2 and not L_60_ and not L_61_ then
				L_85_ = L_24_.camrecoil
				L_84_ = L_24_.gunrecoil
				L_86_ = L_24_.Kickback
				
				L_41_:WaitForChild('Sense'):WaitForChild('Sensitivity').Visible = false
				L_41_:WaitForChild('Sense'):WaitForChild('Sensitivity').Text = L_50_
				L_100_.MouseDeltaSensitivity = L_51_
			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_270_ =  L_3_:WaitForChild("HumanoidRootPart").CFrame * CFrame.new(0, 1.5, 0) * CFrame.new(L_3_:WaitForChild("Humanoid").CameraOffset)
			L_47_.C0 = L_8_.CFrame:toObjectSpace(L_270_)
			L_47_.C1 = CFrame.Angles(-math.asin((L_4_.Hit.p - L_4_.Origin.p).unit.y), 0, 0)
			L_100_.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_100_.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)
