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

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;
