Teleporters Breaking

I have some teleporters in my game that I made but ever since roblox servers was down the teleporters act very weird on the server:

CLIENT:
image

SERVER:
image

Script:
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild(“HumanoidRootPart”) then
hit.Parent.HumanoidRootPart.Position = script.Parent.Parent.Part.Position
end
end)

1 Like

Try using PivotTo on the character instead (works similarly with models)

hit.Parent:PivotTo(script.Parent.Parent.Part.CFrame)
1 Like

use :PivotTo() like neweve said or set the CFrame instead of the Position

Uh roblox is down again so I can’t test it rn

But It seems like it will work

My character is not loaded cause roblox is down but it looks like it worked. Thanks

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.