Rope Constraint attaching to Tool causes glitch

I have a rope constraint which has two attachments. One of the attachments is the part itself and the other attachment being the handle of the tool I am holding. When I equip the tool I get teleported to the end of the rope or it seems to be the end of the rope. Below is how I am attaching the rope to the attachments.

Video of it happening: https://gyazo.com/cf15e4ae52335969274abb547adda8f2.mp4

		local attachment = Instance.new("Attachment")
		attachment.Name = "At0"
		attachment.Parent = script.Parent
		attachment.WorldPosition = script.Parent.Position
		attachment.Position = Vector3.new(0, 0, 0)
		attachment.Visible = true		
		
		local attachment1 = Instance.new("Attachment")
		attachment1.Name = "At1"
		attachment1.Parent = fuelnozel.Handle
		attachment1.WorldPosition = fuelnozel.Handle.Position
		attachment1.Position = Vector3.new(0, 0, 0)
		attachment1.Visible = true
		
		local wire = script.Parent.RopeConstraint
		wire.Attachment0 = attachment1
		wire.Attachment1 = attachment
		wire.Visible = true
2 Likes

Not sure if this would have an effect but its worth a try – have you tried turning off cancollide?

Didn’t change anything, still gives the same result.

I found the reason why, it’s because the part which the rope is on when it’s Anchored it does the weird glitch but when the part is Unanchored it does not do the glitch. Do you know if there is an alternate way of doing this instead of having to unanchor the part just for it to work?

1 Like