Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to not allow players to climb ladders?

Asked by 6 years ago
Edited 6 years ago

Hello everyone. I have recently made a crouch and prone script, which is very successful. But my problem is that you can climb ladders while crouch'd/prone'd. I wanted to know if you have any ideas to disable players from climbing temporarily.

I was thinking when they crouch or prone dis-allow the state type climbing(12) using Humanoid:SetStateEnabled(Enum.HumanoidStateType.12, false), and then doing the opposite when they uncrouch/unprone.

Anyone have any other better ideas? Thanks for your time!

Answer this question