#please help me with this code

1 messages · Page 1 of 1 (latest)

mellow shoal
#

function RagdollModule.Recover(character)
if not character or not savedJoints[character] then return end

local humanoid = character:FindFirstChildOfClass("Humanoid")

task.wait(0.1)

for _, jointData in pairs(savedJoints[character]) do
    -- Verify parts still exist
    if jointData.Part0 and jointData.Part1 and jointData.Parent then
        local newJoint = Instance.new("Motor6D")
        newJoint.Name = jointData.Name
        newJoint.Part0 = jointData.Part0
        newJoint.Part1 = jointData.Part1
        newJoint.C0 = jointData.C0
        newJoint.C1 = jointData.C1
        newJoint.Parent = jointData.Parent
    end
end

if humanoid then
    humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
end

savedJoints[character] = nil

end

#

the problem is that the body is not as it was its kinda moving around on its own

fathom hound
#

1st problem is that you use chat gpt

bleak needle
#

whats bad is that you use it, blindly copy it, and then question why doesnt it work

fathom hound
bleak needle
#

idk about you

fathom hound
#

maybe cuz u ask for somple stuff ig, but ai is taking over and its a bad habit if you copy and paste from an ai and only rely on it

#

just like a test

fathom hound
#

if u use ai on all ur assignments you wont be prepared for the test where u dont have ai

bleak needle
#

i only ask complicated stuff that i dont know how to start on💔

fathom hound
#

like mfrs be fully dependent on ai, I dont want to get into surgery with full of surgeons who used ai to pass medical school bro

bleak needle