Ragdoll on PlatformStanding

So basically I have a script where it makes the player PlatformStanding enable but it doesn’t look to good. I wanted to know if there’s a r6 ragdoll script that when PlatformStanding is enabled it enables the ragdoll? Ive seen some people do it but idk how they made it

Try using some Euphoria Scripts on ToolBox