This is what I have so far and it has an error that says;
Unable to cast value to Object
local clone = character:Clone()
clone.Parent = workspace
local cloneHumanoid = clone:WaitForChild("Humanoid")
local cloneRootPart = clone:WaitForChild("HumanoidRootPart")
while wait() do
cloneHumanoid:MoveTo(cloneRootPart.Position, rootPart.Position)
end