Rope makes player unable to move

Hello, recently when I was implementing a mechanism to my game, I ran into this problem; The player can’t move when they’re holding the rope.

I am not sure if this is a bug in my script, or if it’s something else :neutral_face:

if promptObject.Type.Value == 4 then
		if game.Players.LocalPlayer.Character.RightHand:FindFirstChild("RopeEnd") then
			script.Parent.ScreenGui.RopeFrame.Visible = true
			promptObject.Enabled = false
			game.Players.LocalPlayer.Character.RightHand:FindFirstChild("RopeEnd").Rope.Attachment0 = promptObject.Parent.Parent.RopeStart
		else
			script.Parent.ScreenGui.RopeFrame.Visible = true
			promptObject.Enabled = false
			local Rope = Instance.new("Attachment")
			local RopeMain = Instance.new("RopeConstraint")
			RopeMain.Parent = Rope
			RopeMain.Name = "Rope"
			RopeMain.Attachment1 = Rope
			Rope.Parent = game.Players.LocalPlayer.Character.RightHand
			Rope.Name = "RopeEnd"
			RopeMain.Visible = true
			game.Players.LocalPlayer.Character.RightHand:FindFirstChild("RopeEnd").Rope.Attachment0 = promptObject.Parent.Parent.RopeStart
		end
	end

I would send a video showing the problem, but it doesn’t let me, it stops at the half for some reason…

I ran into a similar issue today. Is the “active” property in your rope true or false when you test the game?

I think it was true, though I can’t check it now, because my pc crashes whenever I open roblox studio.