RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a realistic ragdoll for r6"
-- ScripterAI can't provide a full ragdoll system as it's complex and requires multiple scripts and parts, but here's a base to get you started. This script should be placed in a LocalScript. local Players = game:GetService("Players") local player = Players.LocalPlayer local character = player.Character local humanoid = character:FindFirstChild("Humanoid") humanoid.Died:Connect(function() for i,v in pairs(character:GetChildren()) do if v:IsA("BasePart") then v.CanCollide = true end if v:IsA("Motor6D") then local weld = Instance.new("Weld", v.Part0) weld.Part0 = v.Part0 weld.Part1 = v.Part1 weld.C0 = v.C0 weld.C1 = v.C1 v:Remove() end end end)