Sliding effect on Freefall

I’m trying to stop the sliding effect on Freefall. The issue is when I enable freefalling, the player starts to slip off a part. If the player is freefalling but freefalling is set to false, the player would be unable to move.

I tried to enable freefalling when the player moves and disables after the player stops moving, but that didn’t work. I also tried to lower the MaxSlope to 0 but that still didn’t work.

RunService.Stepped:Connect(function()
	local character = player.Character
	
	if character then
		local humanoid = character:WaitForChild("Humanoid")
		
		if humanoid.MoveDirection.Magnitude > 0 then
			humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall, true)
		else
			humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall, false)
		end
	end
end)

I am trying to achieve a system like “Obby but you have a long arm”.

What I want to achieve:

My problem:

I don’t think the problem has anything to do with freefall, it looks like roblox physics to me.

how can I fix it? Should I create a custom movement when freefall is true?

When freefall is disabled, it doesn’t slip like in the video.

Well, you may want to take a look at this article. Physics | Roblox Creator Documentation
Also I don’t know exactly what is the purpose of the freefall script as when the player moves, the humanoid state enters freefall. I don’t know how this will help you achieve the sliding effect shown in the first video.

Also you’ll need to script it so the player can jump when the arm is hanging if you want to achieve that as well. Roblox physics won’t allow you to just do that and clicking space bar will do nothing.

I don’t need the jumping part, just the freefall state that makes the character slips when hanging.

Well, I think the reason why it slides off is that it’s not heavy enough near the end of the arm to stay on the platform.

So, do I increase the destiny of the arm?

Make the player massless and it should work.

Would that just make the player all slippery?

No, making them massless does not make them slippery.

Well, it still doesn’t work. The player still slips off.

Massless is a property, You may want to take a look at this post Best way to make player massless?

How much density does the arm have?

It kind of works, but it won’t hang on it.

I didn’t enable Density. So do I enable it?

Try enabling density and setting it to the max for the arm. You can also weld an invisible part to the end of the arm, and make it huge so that it’s mass can balance the player so they can hang.

I tried setting density to max for the arms and the whole character. It still wouldn’t hang on.