Humanoid.PlatformStand not turning true half the time?

So ive made a ragdoll that has been working pretty well until Humanoid.PlatformStand doesnt seem like it wants to work half the time.

Ive tried making sure its true every .1 seconds and switching it to true before it does literally anything if your ragdolled.

Anyone else ever experienced this problem or found a way to fix it?

(NOTE: the player is alive when all this is happening to them.)

Because its creating walking ragdolls and i dont like it.

Just added another check that runs every .1 seconds in the correct spot and it fixed it.

Cant seem to delete this post currently so.