I'm trying to make it so that a player is transported from one object to the other by stepping on it, but this error keeps showing up and I have no idea how to fix it.
script.Parent.Touched:connect(function(hit)
if hit.Parent:FindFirstChild('Humanoid') then
hit.Parent.Torso.CFrame = CFrame.new(439.763, 4.144, 128.675)
end
end)
Any help please?

1 comment
Use the HumanoidRootPart for transporting a player.