How do I prevent "tripping"?

there isn’t too much to explain besides what’s shown here:


the weird “ragdoll” is what I plan to get rid of or modify, so I’m wondering how I can do so.

There are 2 ways to fix this
1st way:
Replace your character’s Animation script with yours that makes your character stand up when doing the FallingDown animation i.e. something like this:

function onFallingDown()
	wait(0.025)
	Humanoid.PlatformStand = true
	game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Anchored = true
	wait(0.025)
	game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position, game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(10000,0,0))
	game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Anchored = false
	Humanoid.PlatformStand = false
	
	print("test1")
	--pose = "FallingDown"
end

2nd way:
Local script looking for the FallingDown event from the player’s humanoid and do the same code inside the function of the 1st way