Advertisement
Guest User

HandCuffs Script

a guest
May 6th, 2018
7,134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. script.Parent.Equipped:connect(function(m)
  2. m.Button1Down:connect(function()
  3. if m.Target~=nil then
  4. print(m.Target:GetFullName())
  5. p=nil
  6. _,p=pcall(function() return game.Players[m.Target.Parent.Name] end)
  7. print(p)
  8. print(m.Target.Parent.Name)
  9. if p~=nil then
  10. local detained=p
  11. coroutine.wrap(function()
  12. local c=p
  13. while p==c do wait() pcall(function()
  14. p.Character.Torso.Anchored,p.Character.Torso.CFrame=true,game.Players.LocalPlayer.Character.Torso.CFrame*CFrame.new(0,0,-2.5)
  15. end) end
  16. print('No More Crimes')
  17. pcall(function() c.Character.Torso.Anchored=false end)
  18. end)()
  19. else print('no p') end
  20. end
  21. end)
  22. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement