The rope scripts I am using are from grapple scripts that I modified for something else, but now I need to convert it so that it stays inside the world and Isn't an instance inserted into the world. I am wondering i anyone knows how.

Here are the scripts:

local pos1 = Tool.Handle.Position + Tool.Handle.CFrame.lookVector*.7
	local pos2 = bolt.Position
	rope.Size = Vector3.new(1, 1, 1)
	rope.Mesh.Scale = Vector3.new(20, (pos1-pos2).magnitude, 20)
	rope.CFrame = CFrame.new((pos1 + pos2)/2, pos2) * CFrame.fromEulerAnglesXYZ(-math.pi/2,20,0)
end

and

local rope = Instance.new("Part")
rope.BrickColor = BrickColor.new("Black")
rope.TopSurface = 0
rope.BottomSurface = 0
rope.formFactor = "Symmetric"
rope.Name = "Rope"
rope.CanCollide = false
rope.Anchored = true
local mesh = Instance.new("BlockMesh")
mesh.Parent = rope
mesh.Scale = Vector3.new(.1,.1,.10)