How to change the players humanoid state to physics and disable all others?

Im not sure what I am doing wrong, but for the past few hours I’ve been stuck on the simplest thing for no reason. I’m trying to make a web slinging system, and I want to get rid of the force that the humanoid uses to keep itself upright, so I tried setting the HumanoidState to Physics, because when testing on a dummy this gave the best results with using RopeConstraints. Whenever I set the state to physics, it never stays like that. I even had it in a while wait() do loop, still no worke. After this, I just decided to disable every other state than physics, and guess what, the players state is still on Freefall.

image
(printing the state after this sad wall of code executed)

Im not sure what im doing wrong, and nothing i could find online was very helpful. Please if anyone has any ideas i would appreciate it i am confused on so many levels atm

due to roblox’s amazing documentation, apparently you cant swap out states on the server, or what im guessing is somethign that isnt the network owner. Doing this on the client works, but at least put it somewhere that says it wont run on anything but the network owner

4 Likes