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
Here's a guide on Humanoid.Ragdoll :https://developer.roblox.com/en-us/api-reference/event/Humanoid/Ragdoll
The player can get up from ragdoll