This bug only happend to me once whenever trying to weld two characters together for a “Grabbing” move. I tried using the previous solution for this problem however as you expect by me asking for help It did not work.
The code is as follows [However I truncated a bit of unnecessary stuff]:
local A3 = Humanoid:LoadAnimation(script:FindFirstChild("WakeUp1"))
local HRP = Character:FindFirstChild("HumanoidRootPart")
HRP.Anchored = true
HRP.CFrame = workspace:FindFirstChild("TP").CFrame
A3:Play()
task.wait(A3.Length)
A3:Stop()
HRP.Anchored = false