local RemoteEvent = script.Parent.RemoteEvent
local Using = false
local TargetTorso
local weld
function CheckForChar(Part)
if Part.Parent:IsA('Model') and Part.Parent:FindFirstChildOfClass('Humanoid') then
local Char = Part.Parent
TargetTorso = Char:WaitForChild("HumanoidRootPart")
return Char
end
end
function CheckForTorso(player)
local Char = player.Character
if Char:FindFirstChild('Torso') then
return Char.Torso
else
return Char.UpperTorso
end
end
RemoteEvent.OnServerEvent:Connect(function(player, one, two)
if one == 'Cuff' then
local Target = CheckForChar(two)
local PlayerTorso = CheckForTorso(player)
if Target then
Using = true
RemoteEvent:FireClient(player,'Use')
weld = Instance.new("Weld")
weld.Part0 = PlayerTorso
weld.Part1 = TargetTorso
weld.C0 = CFrame.new(0,0,-3.5)
weld.Parent = PlayerTorso
end
elseif one == 'UnCuff'then
Using = false
weld:Destroy()
end
end)
For some reason the player who got cuffed is able to move very slowly while the person using the cuffs can't move at all, anyone know how I could fix this?

3 comments
Is anything anchored?
No, I don't think so. I don't have anything being anchored or unanchored
You might have a part inside the handcuff model that is anchored without realizing it