Seamless teleport Help

Hi I’m trying to make a teleport script which makes the player not realize he’s been teleported
the problem is that every time the player is teleported the orientation is changed any way to get around this

I made this but it doesn’t really work like at all cause you get teleported to the middle of the part and the orientation gets changed which automatically tells the player he’s been teleported

script.Parent.Touched:Connect(function(p)
	local hum = p.Parent:FindFirstChild("Humanoid")
	if hum ~= nil then
		p.parent.HumanoidRootPart.CFrame = CFrame.new(workspace.b.Position + Vector3.new(0, 3, 0))
	end
end)

a example is this game: Project Lazarus: 💀 ZOMBIES 💀 [NEW PM-9!] - Roblox
no matter how far you go out of spawn you’ll end up back in the same place

1 Like

Maybe try

script.Parent.Touched:Connect(function(p)
	local hum = p.Parent:FindFirstChild("Humanoid")
	if hum ~= nil then
		p.parent.HumanoidRootPart.Position = workspace.b.Position + Vector3.new(0, 3, 0))
	end
end)

That should change the position only so that it’s still the same orientation. hope this helps.

3 Likes

Thanks that helped fix the orientation

1 Like

Alright is everything fixed? if so, you can mark my reply as answered.

1 Like

Also I know this was already solved but .CFrame has both orientation and position while .Position has only the position. That’s why when you use .Position it only changes your position but not the orientation.