o1-preview-2024-09-12· OpenAI
WildChat-4.8M (AI2)
make an r6 ragdoll script i cna puit inside of startercharacterscripts as a local script…
- User
make an r6 ragdoll script i cna puit inside of startercharacterscripts as a local script dont add any comments to the script or about the script
- Assistant
local character = script.Parent local humanoid = character:WaitForChild("Humanoid") humanoid.BreakJointsOnDeath = false local function Ragdoll() for _, part in pairs(character:GetChildren()) do if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then part.CanCollide = true part.Massless = false end end for _, joint in pairs(character:GetDescendants()) do if joint:IsA("Motor6D") then local socket = Instance.new("BallSocketConstraint") socket.Attachment0 = Instance.new("Attachment", joint.Part0) socket.Attachment0.CFrame = joint.C0 socket.Attachment1 = Instance.new("Attachment", joint.Part1) socket.Attachment1.CFrame = joint.C1 socket.Parent = joint.Part0 joint:Destroy() end end end humanoid.Died:Connect(Ragdoll)
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.