During runtime once you click, the script should create a ropeconstraint parented to your humanoidrootpart. can you launch the rope and let me know its length value, and can i see your length calculation code…
Well,It doesnt create a rope constraint in workspace instead it creates a attachment in the part I clicked.
No, your code creates a ropeconstraint in the humanoidrootpart of the player during runtime when you click
can i see the length property of the rope during runtime? I also want to the the section of the code that calculates the
rope.Length
oh yes, I found it,It says lenght 12.04(but this varies depending on the distance)
Also,If you want to test the model by your self you can search for ‘‘rope tool’’ in the toolbox
not seeing it, could you right-click it in explorer → save to file and drop the rbxm file here? I’ll take a look at your code (unless you could drop the section of the code that calculates the rope.Length
here)
That?
att0 = Instance.new('Attachment')
att1 = Instance.new('Attachment')
att0.Parent = newRope
att1.Parent = script.Parent.Parent.Parent.HumanoidRootPart
rope.Visible = true
rope.Parent = script.Parent.Parent.Parent.HumanoidRootPart
rope.Attachment0 = att0
rope.Attachment1 = att1
rope.Length = (script.Parent.Parent.Parent.HumanoidRootPart.Position - newRope.Position).Magnitude
what about the other occurrence of it? from your original code i understand that theres another reference to rope.Length above this.
I sent you the file in messages.