Character keeps falling down

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I want to stop my characters/NPC from falling down

  2. What is the issue? Include screenshots / videos if possible!
    robloxapp-20230812-1517487.wmv (3.3 MB)

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I set so the couldn’t fall but they are still falling

       --ANTITRIp doesnt work :(
		v.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
		v.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)
		--ANTI CLIMB
		v.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing, false)

I am not sure if my video is enough so I uploaded the game: another battle sim - Roblox

2 Likes

Do the instances connected to the NPCs (like the spears) have Massless set to true? The characters may be tipping over because their center of gravity is too far from their body

2 Likes

They are massless, I made everything massless, and cannot collide except for the humanoidrootpart.

1 Like

I tried to set humanoids so falling down is false but when I print GetStateEnabled in console it says its true

while true do
		for i, v in pairs(workspace.Red:GetChildren()) do
			--ANTITRIP
			v.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
			v.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)
			--ANTI CLIMB
			v.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing, false)
		end
		for i, v in pairs(workspace.Blue:GetChildren()) do
			--ANTITRIP
			v.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
			v.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)
			--ANTI CLIMB
			v.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing, false)
		end
		wait(0.2)
	end


is this a bug?

I believe some Humanoid states get updated every frame by the NPC’s animation controller or the engine itself, but I don’t remember off the top of my head.