Automatically exit from ragdoll state

I succeeded in getting out of the ragdoll state after watching this video, but I don’t know how to get out automatically.

The first image is the existing blueprint and the next one is the part I was trying to modify.

스크린샷 2024-02-15 112948