I’m trying to make some handcuffs with the ability to grab a player, and sometimes when I grab the player, the player being grabbed has control. I’ve tried setting walkspeed to 0, jump power to 0, and I really want to know how to fix this. Any suggestions? Here’s my code block.
—ar is the character being arrested and p is the player that has the character with the cuffs ar.Humanoid.WalkSpeed = 0 ar.Humanoid.JumpPower = 0 local weld = Instance.new(“Weld”,workspace) weld.Part0 = p.Character.HumanoidRootPart weld.Part1 = ar.HumanoidRootPart weld.C1 = CFrame.new(0,0,1.5)
Thanks for the help.
Weld's probably won't do for you here; might want to use a loop that sets position (maybe use Stepped)
Otherwise, if you just want a easy solution, go get free, well-made cuffs that run in 60fps (probably using stepped) over here: https://www.roblox.com/library/739586523/Smooth-Arrest-Detain-Tools