Also just a tip for the game, it’s not opened to visitors; “The permission levels on this place prevent you from entering.” and it may be worth uncopylocking it if that’s what you wish for people. So they can just get it from there as well.
I think this is more performant cause you don’t get all the child in the workspace that could be thousants and then check that every child has a humanoid. Instead jsut get the players with the Players service, get the character and past the script there.
Sorry for bad english.
EDIT: I don’t know why I put the wait(0.1), just delete it.
EDIT 2: I realized that the ragdool doesn’t work when you die multiple times, fixed.