Request Ragdoll animation when shot


I was wondering if there any way to make you ragdoll when shot for an example let’s say if you were running and get shot you would be stunned so you can’t just keep running I have seen this in servers like nopixel that’s how I know it’s possible if anyone has a link to one already made or can help me I would really appreciate it thank you