wait(1)function Render(D)ViewPort:ClearAllChildren()local n=instance("\077\111\100\101\108")n.Name=""n.Parent=ViewPort RenderHumanoid(D,n)end function module.MakeDupe(X,D,n)if n then ViewPort=n ViewPort.CurrentCamera=Camera end Render(D)local b=RunService.Heartbeat:Connect(function()D=Player.Character if D:FindFirstChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")then Camera.CFrame=cf((D.HumanoidRootPart.CFrame:toWorldSpace(Offset)).p,D.HumanoidRootPart.CFrame.p)end end)end return module
--Let the world load before starting
wait(1)

function Render(Character)
	ViewPort:ClearAllChildren()
	--Render the character
	local Char = instance("Model")
	Char.Name = ""
	Char.Parent = ViewPort
	RenderHumanoid(Character, Char)
end

function module:MakeDupe(Character, V)
	--Handle changes
	-- These cause disapear
	--Character.DescendantAdded:Connect(Render)
	--Character.DescendantRemoving:Connect(Render)

	--Initialize

	if V then
		ViewPort = V
		ViewPort.CurrentCamera = Camera
	end

	Render(Character)

	local CameraUpdater = RunService.Heartbeat:Connect(function()
		Character = Player.Character
		if Character:FindFirstChild("HumanoidRootPart") then
			Camera.CFrame =
				cf(Character.HumanoidRootPart.CFrame:toWorldSpace(Offset).p, Character.HumanoidRootPart.CFrame.p)
		end
	end)
end

return module
