Dodikman

PJJ Just use it AND KILL

Mar 31st, 2019
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. function createRope(p1, p2, l)
  2. local rope = Instance.new("RopeConstraint")
  3. rope.Parent = p1
  4. rope.Length = l
  5. local att1 = Instance.new("Attachment")
  6. local att2 = Instance.new("Attachment")
  7. rope.Attachment0 = att1
  8. rope.Attachment1 = att2
  9. att1.Parent = p1
  10. att2.Parent = p2
  11. end
  12.  
  13. local plr = game.Players.LocalPlayer
  14.  
  15. for _, v in pairs(game.Workspace:GetChildren()) do
  16. if game.Players:FindFirstChild(v.Name) then
  17. createRope(plr.Character.Torso, v.Torso, 1)
  18. v:MoveTo(plr.Character.Torso)
  19. end
  20. end
Advertisement
Add Comment
Please, Sign In to add comment