Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can I use a script to create rope constraints between attachments?

I am looking to make a realistic soccer net with rope constraints, but I realized that it takes a very long time to connect all of the parts with rope constraints to make it look realistic. I was wandering if there was a way to connect these parts with a script, maybe using matrices, to save me from having to connect all of the parts.

1 answer

say the Attachment names are A1 and A2

local c= Instance.new("RopeConstraint",workspace)
c.Attachment0=game.Workspace.Part1.A1
c.Attachment1=game.Workspace.Part2.A2

This will create a rope attachment that goes from part1 to part 2

This discussion is preserved as it was. New answers, comments, and votes are closed.