Walking becomes delayed after released from handcuff

I’m making a handcuff and players that got released from the handcuff’s walking is delayed, why?

Handcuff:

local weld = Instance.new("WeldConstraint",handle)
rootpart.CFrame = handle.CFrame * CFrame.new(0,0,-1)
weld.Part0 = handle
weld.Part1 = rootpart
rootpart.Parent.Humanoid.PlatformStand = true
rootpart:SetNetworkOwner(cuffer)

Release:

handle:FindFirstChild("WeldConstraint"):Destroy()
rootpart.Parent.Humanoid.PlatformStand = false
rootpart:SetNetworkOwner(nil)
1 Like

If its delayed then that’s likely due to server latency. I’m guessing this is all running on the server?

It doesn’t happen until you arrest them and yes it’s running on the server

rootpart:SetNetworkOwner(nil)

Perhaps set this to the player that was just cuffed.

1 Like

It worked, thank you very much :grinning_face_with_smiling_eyes:

1 Like