Как сделать рэгдолл в Roblox Studio

Аватар автора
Roblox Studio Уроки и Туториалы
Скрипт:local function ConnectLimbs(char) for i, limb in pairs(char:GetChildren()) do if limb:IsA("BasePart") then local atch0, atch1, atch2, atch3, atch4, atch5 if limb.Name == "Head" then atch0 = char.Head.NeckRigAttachment atch1 = char.UpperTorso.NeckRigAttachment elseif limb.Name == "UpperTorso" then atch0 = char.UpperTorso.WaistRigAttachment atch1 = char.LowerTorso.WaistRigAttachment atch2 = char.UpperTorso.LeftShoulderRigAttachment atch3 = char.LeftUpperArm.LeftShoulderRigAttachment atch4 = char.UpperTorso.RightShoulderRigAttachment atch5 = char.RightUpperArm.RightShoulderRigAttachment elseif limb.Name == "LowerTorso" then atch0 = char.LowerTorso.LeftHipRigAttachment atch1 = char.LeftUpperLeg.LeftHipRigAttachment atch2 = char.LowerTorso.RightHipRigAttachment atch3 = char.RightUpperLeg.RightHipRigAttachment elseif limb.Name == "LeftUpperLeg" then atch0 = char.LeftUpperLeg.LeftKneeRigAttachment atch1 = char.LeftLowerLeg.LeftKneeRigAttachment elseif limb.Name == "RightUpperLeg" then atch0 = char.RightUpperLeg.RightKneeRigAttachment atch1 = char.RightLowerLeg.RightKneeRigAttachment elseif limb.Name == "LeftLowerLeg" then atch0 = char.LeftLowerLeg.LeftAnkleRigAttachment atch1 = char.LeftFoot.LeftAnkleRigAttachment elseif limb.Name == "RightLowerLeg" then atch0 = char.RightLowerLeg.RightAnkleRigAttachment atch1 = char.RightFoot.RightAnkleRigAttachment...

0/0


0/0

0/0

0/0