I was trying to make a controllable Ragdoll character for a game I am making. Since I only know the basic of scripting and don't know how to make these stuff, I got a Rogdoll Death Script and modify it.
It look like: Rogdoll Picture
Obviously the code was intended to make your character a Rogdoll Character when you died, so I modify it to run the script when the player spawn.
When I test it out, I got no error, so I assume it might work, but the character stay the same and was just like a normal character like the script wasn't there.
Any Ideas?
Modified Script:
R15Ragdoll (Script)
--Put in ServerScriptService local Players = game:GetService("Players") game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) script.RagdollClient:Clone().Parent = character Players.PlayerAdded:Connect(function() character.UpperTorso:SetNetworkOwner(player) end) end) end)
RagdollClient (Local Script)
I used a pastebin for the code because it was long and the code format is kind of hard to use.
Can anyone help?