Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function createRope(p1, p2, l)
- local rope = Instance.new("RopeConstraint")
- rope.Parent = p1
- rope.Length = l
- local att1 = Instance.new("Attachment")
- local att2 = Instance.new("Attachment")
- rope.Attachment0 = att1
- rope.Attachment1 = att2
- att1.Parent = p1
- att2.Parent = p2
- end
- local plr = game.Players.LocalPlayer
- for _, v in pairs(game.Workspace:GetChildren()) do
- if game.Players:FindFirstChild(v.Name) then
- createRope(plr.Character.Torso, v.Torso, 1)
- v:MoveTo(plr.Character.Torso)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment