I am trying to make handcuffs but how can I make this script work?

local Players = game:GetService("Players")
local localPlayer = Players.LocalPlayer -- from a LocalScript
local mouse = localPlayer:GetMouse()

mouse.MouseButton1Down:Connect(function()
	if mouse.Target.Parent:FindFirstChild("Humanoid") then
		print(mouse.Target.Parent)
	end
end)