Character.Humanoid.Died:connect(function()Stand()_G.Proned=false _G.Crouched=false _G.Sprinting=false end);(game:GetService("\082\117\110\083\101\114\118\105\099\101")).RenderStepped:connect(function()Mouse.TargetFilter=game.Workspace if not _G.Viewing then local Q=(Character.UpperTorso.CFrame*CFrame.new(0,.5,0))*CFrame.new(Humanoid.CameraOffset)if Lean then Q=Q end Neck.C0=Torso.CFrame:toObjectSpace(Q)Neck.C1=CFrame.Angles(-math.asin(Camera.CoordinateFrame.lookVector.y),0,0)elseif _G.Viewing then Character.Torso.Neck.C0=CFrame.new(0,0,0,-1,0,0,0,0,1,0,0,0)Character.Torso.Neck.C1=CFrame.new(0,0,0,-1,0,0,0,0,1,0,0,0)end if player.PlayerScripts.CameraScript.RootCamera:FindFirstChild("\083\101\110\115\105\116\105\118\105\116\121")then if Aiming then player.PlayerScripts.CameraScript.RootCamera.Sensitivity.Value=Player.PlayerGui.MouseSensitivity.Frame.Data.Value else player.PlayerScripts.CameraScript.RootCamera.Sensitivity.Value=1 end Mouse.Button2Down:connect(function()if not Aiming then Aiming=true end end)Mouse.Button2Up:connect(function()if Aiming then Aiming=false end end)end end)Humanoid.HipHeight=1
-------------Motor6Ding Section------------------------

Character.Humanoid.Died:connect(function()
	Stand()
	_G.Proned = false
	_G.Crouched = false
	_G.Sprinting = false
end)
game:GetService("RunService").RenderStepped:connect(function()
	Mouse.TargetFilter = game.Workspace
	if not _G.Viewing then
		local HRPCF = Character.UpperTorso.CFrame * CFrame.new(0, 0.5, 0) * CFrame.new(Humanoid.CameraOffset)
		if Lean then
			HRPCF = HRPCF
		end
		Neck.C0 = Torso.CFrame:toObjectSpace(HRPCF)
		Neck.C1 = CFrame.Angles(-math.asin(Camera.CoordinateFrame.lookVector.y), 0, 0)
	elseif _G.Viewing then
		Character.Torso.Neck.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 0, 0)
		Character.Torso.Neck.C1 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 0, 0)
	end
	if player.PlayerScripts.CameraScript.RootCamera:FindFirstChild("Sensitivity") then
		if Aiming then
			player.PlayerScripts.CameraScript.RootCamera.Sensitivity.Value =
				Player.PlayerGui.MouseSensitivity.Frame.Data.Value
		else
			player.PlayerScripts.CameraScript.RootCamera.Sensitivity.Value = 1
		end
		Mouse.Button2Down:connect(function()
			if not Aiming then
				Aiming = true
			end
		end)
		Mouse.Button2Up:connect(function()
			if Aiming then
				Aiming = false
			end
		end)
	end
end) --]]
Humanoid.HipHeight = 1
