Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I forcefully trip the player and make sure they don't stand up?

Asked by 4 years ago

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

Answer this question