Ok so my game has this ragdoll death animation but I only want it to apply for a certain team, how would I do this? Here is the script --Put in ServerScriptService
game.Players.PlayerAdded:connect(function(player) player .CharacterAdded:connect(function(character) script.RagdollClient:Clone().Parent = character
character:WaitForChild("Humanoid").Died:connect(function()
character.UpperTorso:SetNetworkOwner(player)
end)
end)
end)

1 comment
Thanks, it worked :)