local t 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 t=math.sin((L_125_*L_127_)/2)*L_126_ local o=math.sin(L_125_*L_127_)*L_126_ local n=CFrame.new(t,o,.02)local P=math.sin((L_121_*L_124_)/2)*L_123_ local b=math.cos(L_121_*L_124_)*L_123_ local d=CFrame.new(P,b,.02)if L_118_ then L_125_=L_125_+.017 if L_23_.WalkAnimEnabled==true then L_119_=n 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 M=L_117_.p local h=(M.X/L_114_)*(L_46_ and L_116_ or L_115_)local I=(M.Y/L_114_)*(L_46_ and L_116_ or L_115_)L_5_.CFrame=L_5_.CFrame:lerp(L_5_.CFrame*L_120_,.2)if L_46_ then L_108_=CFrame.Angles(math.rad(-h),math.rad(h),math.rad(I))*CFrame.fromAxisAngle(Vector3.new(5,0,-1),math.rad(h))L_121_=0 L_122_=CFrame.new()elseif not L_46_ then L_108_=CFrame.Angles(math.rad(-I),math.rad(-h),math.rad(-h))*CFrame.fromAxisAngle(L_29_.Position,math.rad(-I))L_121_=L_121_+.017 L_122_=d end if L_23_.SwayEnabled==true then L_30_.C0=L_30_.C0:lerp(((L_134_*L_108_)*L_119_)*L_122_,.1)else L_30_.C0=L_30_.C0:lerp(L_134_*L_119_,.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,.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(),.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("\083\101\110\115\101")):WaitForChild("\083\101\110\115\105\116\105\118\105\116\121")).Visible=true;((L_27_:WaitForChild("\083\101\110\115\101")):WaitForChild("\083\101\110\115\105\116\105\118\105\116\121")).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("\083\101\110\115\101")):WaitForChild("\083\101\110\115\105\116\105\118\105\116\121")).Visible=false;((L_27_:WaitForChild("\083\101\110\115\101")):WaitForChild("\083\101\110\115\105\116\105\118\105\116\121")).Text=L_36_ L_82_.MouseDeltaSensitivity=L_37_ end end if Recoiling then L_120_=CFrame.Angles(L_67_,0,0)L_30_.C0=L_30_.C0:lerp((L_30_.C0*CFrame.new(0,0,L_66_))*CFrame.Angles(-math.rad(L_68_),0,0),.3)elseif not Recoiling then L_120_=CFrame.Angles(0,0,0)L_30_.C0=L_30_.C0:lerp(CFrame.new(),.2)end if L_47_ then(L_3_:WaitForChild("\072\117\109\097\110\111\105\100")).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("\083\101\110\115\101")):WaitForChild("\083\101\110\115\105\116\105\118\105\116\121")).Visible=true;((L_27_:WaitForChild("\083\101\110\115\101")):WaitForChild("\083\101\110\115\105\116\105\118\105\116\121")).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("\083\101\110\115\101")):WaitForChild("\083\101\110\115\105\116\105\118\105\116\121")).Visible=false;((L_27_:WaitForChild("\083\101\110\115\101")):WaitForChild("\083\101\110\115\105\116\105\118\105\116\121")).Text=L_36_ L_82_.MouseDeltaSensitivity=L_37_ end end if L_15_ and L_23_.CameraGo then L_4_.TargetFilter=game.Workspace local t=((L_3_:WaitForChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")).CFrame*CFrame.new(0,1.5,0))*CFrame.new((L_3_:WaitForChild("\072\117\109\097\110\111\105\100")).CameraOffset)L_33_.C0=L_8_.CFrame:toObjectSpace(t)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="\104\116\116\112\058\047\047\119\119\119\046\114\111\098\108\111\120\046\099\111\109\047\097\115\115\101\116\063\105\100\061"..L_23_.TPSMouseIcon L_82_.MouseIconEnabled=true if L_3_:FindFirstChild("\082\105\103\104\116 \065\114\109")and L_3_:FindFirstChild("\076\101\102\116 \065\114\109")then L_3_["\082\105\103\104\116 \065\114\109"].LocalTransparencyModifier=1 L_3_["\076\101\102\116 \065\114\109"].LocalTransparencyModifier=1 end end end end)
--// 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_ + 0.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)
