function RotateViewportModule.AddViewport(E,p)spawn(function()if p:FindFirstChildWhichIsA("\077\111\100\101\108")~=nil then local u=p:FindFirstChildWhichIsA("\077\111\100\101\108")if p:FindFirstChildWhichIsA("\067\097\109\101\114\097")~=nil then local z=p:FindFirstChildWhichIsA("\067\097\109\101\114\097")E:EndViewport()event=setRotationEvent(u,z)end end end)end return RotateViewportModule
--// Add Viewport
function RotateViewportModule:AddViewport(viewport)
	spawn(function()
		if viewport:FindFirstChildWhichIsA("Model") ~= nil then
			local model = viewport:FindFirstChildWhichIsA("Model")
			if viewport:FindFirstChildWhichIsA("Camera") ~= nil then
				local camera = viewport:FindFirstChildWhichIsA("Camera")

				self:EndViewport()
				event = setRotationEvent(model, camera)
			end
		end
	end)
end

return RotateViewportModule
