I'm trying to make a script that forces the player to trip and not get up, but the player is able to advoid the trip if they hold jump, this is my script

while wait() do
	if Player.Stats.Ragdolled.Value == false then
		for i,v in pairs(Character:GetDescendants()) do
			if v:IsA("Humanoid") then
				v.PlatformStand = false
			end
		end
		break
	end
	for i,v in pairs(Character:GetDescendants()) do
		if v:IsA("Humanoid") then
			v.PlatformStand = true
		end
	end
end

2 comments

0

The player can get up from ragdoll