Help with zipline system [CLOSED]

So im working on a game where your character is ragdolly and stuff. im trying to make a system where you can grab things and then “slide” while grabbing them.

This is what i have working currently.

External Media

Im trying to add limits to it so you cant just fly off. any help would be useful!

this is the part of the script where it moves the character around (not the whole script)

local newSocket = Instance.new("BallSocketConstraint",armSocket.Attachment0.Parent)
newSocket.Parent = chr.Torso
chr:PivotTo(script.Parent.Parent.CFrame)
newSocket.Attachment1 = script.Parent.Parent.Grab2
newSocket.Attachment0 = chr["Right Arm"].GrabAttachment

task.spawn(function()
		while task.wait() do
			script.Parent.Parent.Grab2.WorldCFrame += hum.MoveDirection
		end
	end)

image

Any help would be useful!

2 Likes

Hey, bro I really don’t know what the whole script is. I don’t play with attachments or ragdolling, but I will try to help, try anchoring the player HumanoidRootPart.

2 Likes

Bad Idea, I’m not very sure if this happens everytime but I’m pretty sure anchoring the humanoidRootPart causes the player to mess up when walking after unachoring it.

A better Idea would be alignPosition or using bodymovers.

1 Like

found another solution to my game, also spiced up the gameplay.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.