--// Renders
local L_150_

L_95_:connect(function()
	if L_15_ then
		L_145_, L_146_ = L_145_ or 0, L_146_ or 0
		if L_148_ == nil or L_147_ == nil then
			L_148_ = L_44_.C0
			L_147_ = L_44_.C1
		end
		
		local L_256_ = (math.sin(L_139_ * L_141_ / 2) * L_140_)
		local L_257_ = (math.sin(L_139_ * L_141_) * L_140_)
		local L_258_ = CFrame.new(L_256_, L_257_, 0.02)
				
		
		local L_259_ = (math.sin(L_135_ * L_138_ / 2) * L_137_)
		local L_260_ = (math.cos(L_135_ * L_138_) * L_137_)
		local L_261_ = CFrame.new(L_259_, L_260_, 0.02)
		
		if L_132_ then
			L_139_ = L_139_ + .017
			if L_24_.WalkAnimEnabled == true then
				L_133_ = L_258_
			else
				L_133_ = CFrame.new()
			end
		else
			L_139_ = 0
			L_133_ = CFrame.new()
		end
		
		L_131_.t = Vector3.new(L_126_, L_127_, 0)
		local L_262_ = L_131_.p
		local L_263_ = L_262_.X / L_128_ * (L_60_ and L_130_ or L_129_)
		local L_264_ = L_262_.Y / L_128_ * (L_60_ and L_130_ or L_129_)
		
		L_5_.CFrame = L_5_.CFrame:lerp(L_5_.CFrame * L_134_, 0.2)
		
		if L_60_ then
			L_122_ = CFrame.Angles(math.rad(-L_263_), math.rad(L_263_), math.rad(L_264_)) * CFrame.fromAxisAngle(Vector3.new(5, 0, -1), math.rad(L_263_))	
			L_135_ = 0
			L_136_ = CFrame.new()
		elseif not L_60_ then
			L_122_ = CFrame.Angles(math.rad(-L_264_), math.rad(-L_263_), math.rad(-L_263_)) * CFrame.fromAxisAngle(L_43_.Position, math.rad(-L_264_))
			L_135_ = L_135_ + 0.017			
			L_136_ = L_261_
		end
		
		if L_24_.SwayEnabled ==  true then
			L_44_.C0 = L_44_.C0:lerp(L_148_ * L_122_ * L_133_ * L_136_, 0.1)
		else
			L_44_.C0 = L_44_.C0:lerp(L_148_ * L_133_, 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_81_ = L_24_.AimCamRecoil
				L_80_ = L_24_.AimGunRecoil
				L_82_ = L_24_.AimKickback
			end
			
			if (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude < 2 then
				L_44_.C1 = L_44_.C1:lerp(L_44_.C0 * CFrame.new(L_119_.position), L_24_.AimSpeed)
				
				L_41_:WaitForChild('Sense'):WaitForChild('Sensitivity').Visible = true
				L_41_:WaitForChild('Sense'):WaitForChild('Sensitivity').Text = L_50_
				L_96_.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_119_.position) * L_120_, L_24_.UnaimSpeed)
				
				L_41_:WaitForChild('Sense'):WaitForChild('Sensitivity').Visible = false
				L_41_:WaitForChild('Sense'):WaitForChild('Sensitivity').Text = L_50_
				L_96_.MouseDeltaSensitivity = L_51_
			end			
		end
		
		if Recoiling then
			L_134_ = CFrame.Angles(L_81_, 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_80_) * CFrame.Angles(-math.rad(L_82_), 0, 0), 0.3)
		elseif not Recoiling then	
			L_134_ = 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_88_ * L_24_.ZoomSpeed)
			if (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude >= 2 then
				L_81_ = L_24_.AimCamRecoil
				L_80_ = L_24_.AimGunRecoil
				L_82_ = L_24_.AimKickback
				
				L_41_:WaitForChild('Sense'):WaitForChild('Sensitivity').Visible = true
				L_41_:WaitForChild('Sense'):WaitForChild('Sensitivity').Text = L_50_
				L_96_.MouseDeltaSensitivity = L_50_
			elseif (L_3_.Head.Position - L_5_.CoordinateFrame.p).magnitude < 2 and not L_60_ and not L_61_ then
				L_81_ = L_24_.camrecoil
				L_80_ = L_24_.gunrecoil
				L_82_ = L_24_.Kickback
				
				L_41_:WaitForChild('Sense'):WaitForChild('Sensitivity').Visible = false
				L_41_:WaitForChild('Sense'):WaitForChild('Sensitivity').Text = L_50_
				L_96_.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_265_ =  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_265_)
			L_47_.C1 = CFrame.Angles(-math.asin((L_4_.Hit.p - L_4_.Origin.p).unit.y), 0, 0)
			L_96_.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_24_.TPSMouseIcon
			L_96_.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)