Constraint acting weirdly

I’ve been trying to give the player a RopeConstraint as a rope swinging method.

I’ve gotten a quick script down, but the player seems to get stuck in the trigger until the game starts lagging, forcing me to have to close studio!

If anyone wants to take a look at this, here’s the code:

--call objects--
local IceBalloon = script.Parent.Parent.Model.MeshPart
local IceTrig = script.Parent
local Attach = script.Parent.Parent.Model.ee.Attachment1
--end of calling objects--

--script start--
local function PlayerTouched(Part) 
		local Parent = Part.Parent
	if game.Players:GetPlayerFromCharacter(Parent) then
		Parent.Archivable = true
		
		local PLY_ATTACH = Instance.new("Attachment")
		PLY_ATTACH.Parent = Parent.Head
		
		local CREATE_ROPE = Instance.new("RopeConstraint")
		CREATE_ROPE.Attachment0 = PLY_ATTACH
		CREATE_ROPE.Attachment1 = Attach
		CREATE_ROPE.Length = 15
		CREATE_ROPE.Restitution = 0.2
		CREATE_ROPE.Parent = Parent.Head
		CREATE_ROPE.Thickness = 1
		
		CREATE_ROPE.Enabled = true
		
		
	end
	
	
end

script.Parent.Touched:connect(PlayerTouched) 

Sorry I didn’t test much :grin:

I had to move the trigger away once the player touches it.