Scripting player to stay in place after animation plays


I’ve made an animation which is used when a player climbs up a wall
When the animation ends, I want the player to stay on top of the wall
Here is what I have scripted so far:

ClimbAnimTrack.Stopped:Connect(function()
	Teleport:FireServer(Char.Torso.Position)
end)

Teleport is a remote event I made where you can insert a Vector3 value, and it will teleport the character’s HumanoidRootPart to that position
Right now, it should be sending the Torso’s coordinates through the event and teleporting the HumanoidRootPart to wherever the Torso was at the end of the animation. Right now it breaks the player’s shift lock and teleports them too far up

Did you try just enabling the HumanoidRootPart’s Anchor like Anchored = true

I just tried that actually, good idea. It still gives me the same issue though

try using CFrame and anchoring the torso