How to make radoll on HIt sword?

When I touch the hit box, I make a ragdoll, wait a second, and then I make a sword that deletes the ragdoll But for some reason, I keep failing and ask for help here. All I want is a script to make a rag doll and a script to delete a rag doll Please help me! :sleepy:

You’re either going to need to provide more specifics of what your trying to do with in-depth detail, or show us some code you written that you’re having problems with to help you fix the problem more quickly.