Hello DevForum! I have had this problem for a long time, sometimes when a player get’s teleported he will become invisible for other players, I could never figure it out.
script.Parent.Touched:Connect(function(hit)
local player = hit.Parent
if player and player:FindFirstChild("Humanoid") then
player.HumanoidRootPart.Position = Vector3.new(-218.1, 47, 66)
end
end) ```
script.Parent.Touched:Connect(function(hit)
local Humrt = hit.Parent:FindFirstChild("HumanoidRootPart")
if Humrt then
Humrt.Position = Vector3.new(-218.1, 47, 66)
end
end) ```
Its likely because of this, here you are only moving the HumanoidRootPart to a set Position instead of Moving the Entire Character Along with it, try MoveTo to move the entire Model:
player:MoveTo(Vector3.new(-218.1, 47, 66))
However, Dont get it confused with Humanoid:MoveTo(), Model:MoveTo() is a Different thing.
Like what @Tavikron Said, you can also use PivotTo
MoveTo will Move the Model with Vector3 PivotTo will Move the Model with CFrame
He doesnt have to, when testing on Studio this code, after stepping on the Part, Check the Current Server and you’ll not find the Player at all. PivotTo and MoveTo appear to fix that issue