of     1   

MajesticValve
#138309600Thursday, June 26, 2014 11:18 PM GMT

Yeah, instead this is a new thread. Character = player.Character Humanoid = Character.Humanoid Torso = Character.Torso mode = Instance.new("Model") mode.Name = "Raggy" mode.Parent = Workspace wait(0.00000001) if Torso then zam=Torso:Clone() zam.Parent=mode x=Character:GetChildren() for i=1,#x do if ((x[i].Name=="Shirt") or (x[i].Name=="Pants")) then local zor=x[i]:Clone() zor.Parent=mode end if x[i].Name=="Head" then local zem=x[i]:Clone() zem.Parent=mode zem.Name="notahead" local Neck = Instance.new("Weld") Neck.Name = "Neck" Neck.Part0 = zam Neck.Part1 = zem Neck.C0 = CFrame.new(0, 1.5, 0) Neck.C1 = CFrame.new() Neck.Parent = zam end if x[i].Name=="Right Arm" then local Limb=x[i]:Clone() Limb.Parent=mode Limb.CFrame = zam.CFrame * CFrame.new(1.5, 0, 0) local Joint = Instance.new("Glue") Joint.Name = "RightShoulder" Joint.Part0 = zam Joint.Part1 = Limb Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) Joint.Parent = zam local B = Instance.new("Part") B.TopSurface = 0 B.BottomSurface = 0 B.formFactor = "Symmetric" B.Size = Vector3.new(1, 1, 1) B.Transparency = 1 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) B.Parent = mode local W = Instance.new("Weld") W.Part0 = Limb W.Part1 = B W.C0 = CFrame.new(0, -0.5, 0) W.Parent = Limb end if x[i].Name=="Left Arm" then local Limb=x[i]:Clone() Limb.Parent=mode Limb.CFrame = zam.CFrame * CFrame.new(-1.5, 0, 0) local Joint = Instance.new("Glue") Joint.Name = "LeftShoulder" Joint.Part0 = zam Joint.Part1 = Limb Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) Joint.Parent = zam local B = Instance.new("Part") B.TopSurface = 0 B.BottomSurface = 0 B.formFactor = "Symmetric" B.Size = Vector3.new(1, 1, 1) B.Transparency = 1 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) B.Parent = mode local W = Instance.new("Weld") W.Part0 = Limb W.Part1 = B W.C0 = CFrame.new(0, -0.5, 0) W.Parent = Limb end if x[i].Name=="Right Leg" then local Limb=x[i]:Clone() Limb.Parent=mode Limb.CFrame = zam.CFrame * CFrame.new(0.5, -2, 0) local Joint = Instance.new("Glue") Joint.Name = "RightHip" Joint.Part0 = zam Joint.Part1 = Limb Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) Joint.Parent = zam local B = Instance.new("Part") B.TopSurface = 0 B.BottomSurface = 0 B.formFactor = "Symmetric" B.Size = Vector3.new(1, 1, 1) B.Transparency = 1 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) B.Parent = mode local W = Instance.new("Weld") W.Part0 = Limb W.Part1 = B W.C0 = CFrame.new(0, -0.5, 0) W.Parent = Limb end if x[i].Name=="Left Leg" then local Limb=x[i]:Clone() Limb.Parent=mode Limb.CFrame = zam.CFrame * CFrame.new(-0.5, -2, 0) local Joint = Instance.new("Glue") Joint.Name = "LeftHip" Joint.Part0 = zam Joint.Part1 = Limb Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) Joint.Parent = zam local B = Instance.new("Part") B.TopSurface = 0 B.BottomSurface = 0 B.formFactor = "Symmetric" B.Size = Vector3.new(1, 1, 1) B.Transparency = 1 B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) B.Parent = mode local W = Instance.new("Weld") W.Part0 = Limb W.Part1 = B W.C0 = CFrame.new(0, -0.5, 0) W.Parent = Limb end bland=Instance.new("Humanoid") bland.Parent=mode if ((x[i].Name=="Shirt") or (x[i].Name=="Pants")) then local zor=x[i]:Clone() zor.Parent=mode end local Bar = Instance.new("Part") Bar.TopSurface = 0 Bar.BottomSurface = 0 Bar.formFactor = "Symmetric" Bar.Size = Vector3.new(1, 1, 1) Bar.Transparency = 1 Bar.CFrame = zam.CFrame * CFrame.new(0, 0.5, 0) Bar.Parent = mode local Weld = Instance.new("Weld") Weld.Part0 = zam Weld.Part1 = Bar Weld.C0 = CFrame.new(0, 0.5, 0) Weld.Parent = zam end end I tried using CFrame:inverse(), Welds, etc. it just won't work for me R$52,567 / 65,000
Blockerjr800th
#138309687Thursday, June 26, 2014 11:18 PM GMT

http://www.roblox.com/Forum/ShowPost.aspx?PostID=59544478 I always recommend this thread if you wanna learn about CFrame math.
Barite
#138309878Thursday, June 26, 2014 11:20 PM GMT

"wait(0.00000001)" what
MajesticValve
#138315146Friday, June 27, 2014 12:14 AM GMT

@bar it's not my script I just need to know how to attach a hat to a rag-doll player. @block that looks way too complicated R$52,567 / 65,000
MajesticValve
#138320171Friday, June 27, 2014 12:59 AM GMT

aasds R$52,567 / 65,000
MajesticValve
#138321328Friday, June 27, 2014 1:12 AM GMT

uu R$52,567 / 65,000
MajesticValve
#138330364Friday, June 27, 2014 2:44 AM GMT

ffffff R$52,567 / 65,000
MajesticValve
#138343930Friday, June 27, 2014 5:07 AM GMT

xzzzzzzzzzzzzzzzz R$52,567 / 65,000
STRlKES
#138346391Friday, June 27, 2014 5:28 AM GMT

"wait(0.00000001)" ummmmmmmmmmm doesn't work max is .0003
MajesticValve
#138346745Friday, June 27, 2014 5:32 AM GMT

@str the script works fine even with that so it's just that idk how to attach hats to a rag-dolled player R$52,567 / 65,000
MajesticValve
#138348679Friday, June 27, 2014 5:52 AM GMT

qq R$52,567 / 65,000
MajesticValve
#138351925Friday, June 27, 2014 6:36 AM GMT

jjj R$52,567 / 65,000
MajesticValve
#138462973Saturday, June 28, 2014 4:35 AM GMT

still no one can help me? .3. R$55,333 / 65,000
MajesticValve
#138475148Saturday, June 28, 2014 7:05 AM GMT

... R$55,323 / 65,000

    of     1