local Ps = game:GetService("Players") local RS = game:GetService("ReplicatedStorage") local Ru = game:GetService("RunService") local Lp = Ps.LocalPlayer local Ar = RS.Remotes.ArrestPlayer local Md = 7 local Rd = 0.05 local Sl = false local function gn() local Np = {} local Ch = Lp.Character local Lh = Ch and Ch:FindFirstChild("HumanoidRootPart") local Lt = Lp.Team if not Lh then return Np end for _, Pl in ipairs(Ps:GetPlayers()) do if Pl ~= Lp and Pl.Team ~= Lt then local Tc = Pl.Character local Th = Tc and Tc:FindFirstChild("HumanoidRootPart") if Th then local Di = (Lh.Position - Th.Position).Magnitude if Di <= Md then table.insert(Np, Pl) end end end end return Np end local function ag() local Ch = Lp.Character if Ch then local Lr = Ch:FindFirstChild("RightHand") if Lr then local Hd = Lr:FindFirstChildOfClass("Accessory") if Hd and Hd.Name == "Handcuffs" then return true end end local Lv = Ch:FindFirstChildOfClass("Tool") if Lv and Lv.Name == "Handcuffs" then return true end end return false end local function ex() while true do if Sl then local sc = pcall(function() local Tg = gn() if #Tg > 0 then local Ri = math.random(1, #Tg) local Tp = Tg[Ri] local ca = { [1] = Tp } pcall(function() Ar:InvokeServer(unpack(ca)) end) end end) end task.wait(Rd) end end local function tu() while true do Sl = ag() task.wait(0.01) end end spawn(ex) spawn(tu)