Vunqz

Arrest all

Apr 26th, 2020
697
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. local cpos = Player.Character.HumanoidRootPart.CFrame
  3. for i,v in pairs(game.Teams.Criminals:GetPlayers()) do
  4. if v.Name ~= Player.Name then
  5. local i = 10
  6. repeat
  7. wait()
  8. i = i-1
  9. game.Workspace.Remote.arrest:InvokeServer(v.Character.HumanoidRootPart)
  10. Player.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1)
  11. until i == 0
  12. end
  13. end
  14. Player.Character.HumanoidRootPart.CFrame = cpos
  15. Notify("Success", "Arrested all of the n00bs", "Cool!")
Add Comment
Please, Sign In to add comment