How would I disable control of a player's character?

In my game, rag dolling can sometimes go insane when you go in first person or shift lock. Now I want to completely cut off all control to your character if you rag doll, so not even going into first person will rotate your character. I know this is possible because in Plates of Fate Remastered they have that sort of system.

1 Like

Try this.

local char = player.Character
local human = char:FindFirstChild("Humanoid")
human.WalkSpeed = 0
human.UseJumpPower = true
human.JumpPower = 0

I’ve done stuff like this before and it seems to work.

disable the AutoRotate property and enable the PlatformStand property inside the humanoid, should disable everything


If none of the other solutions work (they very likely will), you can require the control module and disable it using the function for that (I recall there being one in there).

		local humanoid = char:WaitForChild("Humanoid")
		humanoid.WalkSpeed = 0
		humanoid.JumpPower = 0

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